This is a Next + Reactjs scheduling app, using a work-inprogress design system created from scratch. It uses next api routes to deal with backend requests, and assumes a postgres database is available for connection.
This app has been deployed @
https://calme-mu.vercel.app
To run this project locally, you will need to do the following steps in the project root directory:
- Run
npm install
- Add environment variables as suggested in the
.env.example
file
2.1 Create a google app at https://console.cloud.google.com/ and store bothCLIENT_ID
andCLIENT_SECRET
2.2 Generate a NEXT_AUTH_SECRET
2.3 Have a postgres database available. You can do this on any DB manager (e.g. DBeaver, PG Admin) or spin up a database through docker. If you choose docker, the base imagebitnami/postgresql:latest
is recommended - Run
npx prisma migrate dev
3.1 Check if the local db is correctly set up by runningnpx prisma studio
, and seeing that tables are created (e.g. Users) - Run
npm run dev
- Access http://localhost:3000/ on your browser