dump-hr / ddays-app

DUMP Days conference app

Home Page:https://days.dump.hr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DUMP Days App

Env CI status
Production Deploy Lint

Development

Dependencies

  • Node.js >=18 and yarn
  • PostgreSQL >= 15 or Docker for running PostgreSQL in container

Setup environment

  1. Run docker compose up in separate terminal or follow steps below if you already have postgres server running locally.

    If you use local postgres db server, create manually new database named ddays-app

  2. Create .env.local file that can override configuration options from .env in web/api apps.

Install dependencies

Run command from workspace level

yarn

Generate new database migrations (after adding models)

yarn db:generate

Run database migrations

yarn db:migrate

or just restart development server

Run development server

yarn dev

App is now accessible on http://localhost:3000/. API routes are prefixed with /api, Admin app is prefixed with /admin and Sponsor app is prefixed with /sponsor.

Cookbook

Add new dependency

yarn workspace <workspace> add <package>

example: add drizzle-kit library to api app

yarn workspace api add drizzle-kit

Useful resources

About

DUMP Days conference app

https://days.dump.hr/


Languages

Language:TypeScript 70.2%Language:SCSS 24.0%Language:HCL 4.2%Language:Shell 0.7%Language:JavaScript 0.4%Language:Dockerfile 0.3%Language:HTML 0.2%