Skip to content

antansk/next-level-web-service

Repository files navigation

Next-level-web-service

Experimentation on implementing a web service using Next.js on Zeit serverless platform. It has both UI and API implementation.

Working demo: https://next-level-web-service.anterotan.now.sh

UI

The web service serves a simple UI but utilizes some advanced web technologies such as code splitting, server side rendering and CSS-in-JS. It also uses some of the latest React features like hooks and integrates with material-ui library.

API

API implementation queries data from NASA API, processes that data into some key figures and returns that to the client. API is easily extendable and you can introduce a new endpoint by just adding a new js files under /api folder. This project also contains couple of tests for current API endpoints.

Run locally

  1. Download and install Now CLI
  2. Run yarn install or npm install
  3. Run now dev

Deploy to cloud

  1. Register a free account at Zeit.co
  2. Run now at the root of the project folder and fill in the user credentials if asked

You can configure automatic deployment on every GitHub commit from the zeit.co website.

About

Experimentation on implementing a web service using Next.js on Zeit serverless platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published