My First PWA in NextJS

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rust-cohle-quotes

  • The first to do in this project is to build out an REST API using Node with an Express server. This will be a quick overview of the steps. If you want to go deeper into building a REST API, I recommend reading this article from Postman. You'll start by creating a directory for your project and then use npm init to create a Node application. You'll install express with npm install express . Go ahead and open up your project in your code editor. You'll add a new file and name it app.js. This will be your working app file where you'll want to set up the server and also include your routes. You can see my app.js file on Github. To get everything running for testing, you'll want to add the following code:

  • hugo-quick-start

    Hugo Quick Start on Render

  • You have the option of using multiple GET routes or one depending on your project. I have two, one for testing which is my "/" route and then another one for returning quotes "/new-quote". My "new-quote" route will go through my array of quotes and then find one randomly. So then the API will return the result of that call. Once you get everything running how you want it, it's time to get it online. If you already have a Heroku account or some other cloud based hosting provider, then go that route. I went with a free account on Render. The docs on Render were clear and it made it easy to use my repo that I had on Github and have it online.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project