- Clone the repository
- Install dependencies via
npm install - Build the application with
npm run build - Copy .env.example to
.envand fill in the required values - Start the application with
npm start - Open your browser and navigate to
http://localhost:3000(by default) to see the application in action - Swagger UI spec is available at
http://localhost:3000/api-docs(by default, enabled)
You may start application in watch (dev) mode using npm run dev.
npm testAfter changing database schema (adding/removing columns, tables, etc.), run:
npm run db:generateA new SQL migration file will be created in db/migrations directory. You can then apply the migration manually with:
psql my_db < db/migrations/001_migration_name.sql