This is a Next.js project using TypeScript.
Volta is used to manage versions of JS tools.
Styling is provided by Emotion.
The database is using Supabase.
State managements is handled via Redux Toolkit and external data requests are handled with RTK Query.
Translation strings are handled by next-translate and are currently only kept in the common
context.
-
Use Volta to install correct versions of JS tools.
-
Copy the
.env.sample
to.env
and update the secrets in the file. -
Install packages with
yarn install
-
Then run the development server:
yarn dev
-
Open http://localhost:3000 with your browser to see the result.
A set of Github actions are used to deploy to Heroku. Three secrets should be added to the repository to facilitate release.
- HEROKU_API_KEY
- HEROKU_APP_NAME
- HEROKU_EMAIL
The secrets that were updated in the .env
file should be added to Heroku.