Skip to content

antonkri97/family

Repository files navigation

Family app

Features

  • People database
  • Family Tree

Stack

  • Remix
  • Postgres
  • Zod with strict typescript
  • Docker

Requirements

  • node 18
  • npm 9
  • docker

Setup

Dependency installation

  • npm install

Running database

  1. create .env file in root app folder (see .env.example file for reference)
  2. find username, password and port in docker-compose.yml postgres service
  3. create DATABASE_URL env in .env file with following properties "postgresql://username:password@address:port/postgres"
  4. create SESSION_SECRET env in .env file and copy value from .env.example
  5. running db instance > docker compose --profile db up
  6. initial migration for creating tables > npx prisma db push
  7. seed database > npx prisma db seed
  8. you are ready to go

Starting app

  • npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published