- People database
- Family Tree
- Remix
- Postgres
- Zod with strict typescript
- Docker
- node 18
- npm 9
- docker
- npm install
- create .env file in root app folder (see .env.example file for reference)
- find username, password and port in docker-compose.yml postgres service
- create DATABASE_URL env in .env file with following properties "postgresql://username:password@address:port/postgres"
- create SESSION_SECRET env in .env file and copy value from .env.example
- running db instance > docker compose --profile db up
- initial migration for creating tables > npx prisma db push
- seed database > npx prisma db seed
- you are ready to go
- npm run dev