/reading-habit

A fullstack Jamstack app built with Next.js, FaunaDB, Auth0 and Tailwind CSS.

Primary LanguageJavaScript

Reading Habit

A fullstack Jamstack app to help you keep track of the books you're reading.

Built with:

Try it out for yourself

Originally inspired by James Q Quick's Fullstack Jamstack tutorial

Screenshot of Reading Habit app

To run locally

  1. Clone this repo.

  2. Install dependencies with npm install.

  3. In the root of the project, add a .env.local file with the following keys

AUTH0_SECRET=
AUTH0_BASE_URL=
AUTH0_ISSUER_BASE_URL=
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
FAUNA_SECRET=
  1. Follow the Auth0 Next.js Quickstart to see how to set up Auth0 with Next.js.

  2. Follow the FaunaDB quickstart to set up a FaunaDB database. Under Security, create a new key, associate it with the database, and give it the role of server.

  3. Once you have your Auth0 and FaunaDB secrets, add them to .env.local and run npm run dev to spin up a local version of the app.