This is the backend for the frontend.
Make sure to install the dependencies first:
yarn installThe .tool-versions file contains the versions of the tools used in this project.
If you use asdf, you can run asdf install to install the correct versions.
Next, create a .env file.
The template for the files is .env.example.
Generate the Prisma client:
yarn db:client:genIf you want to use the database migrations, you need to run the following command:
yarn db:migration:deployStart the development server on http://localhost:3001 (by default, set the PORT environment variable to change the port):
yarn devTo generate a new migration, run the following command:
yarn db:migration:newTo format the prisma schema, run the following command:
yarn db:schema:formatBuild the application for production:
yarn buildStart the application in production mode:
yarn start