Requirements:
- Node.js >= 20
- Docker
Make a copy of the .env.example
to a file .env.local
. Run PostgreSQL as container:
docker run --name local-postgres -p 5432:5432 -e POSTGRES_PASSWORD=secret -d postgres
Afterwards create a database for this project:
docker exec -it local-postgres createdb -U postgres localdb
Install the dependencies by running npm install
. You will now be able to initialize your database schema by running npm run migrate:dev
.
To start Next.js you can run npm run dev
and to start the tRPC service you can run npm run dev:backend
.
The list of technologies used is the following: