The Backend repository for Dulwich Bookings hosted on Heroku. Built with NodeJS, Express, Sequelize, TypeScript, PostgreSQL
Prerequisites NodeJS LTS v16.15.0
- Install nvm on your machine
- run
nvm install v16.15.0
- run
npm install -g [email protected]
- run
nvm use
- Run
npm install
in the working directory to install required packages - Use the linter files provided to ensure consistent code style across the repository
- Create
.env
file, refer to.env.example
for a template. - Run
npm run db:create
to create the database. - Run
npm run db:migrate
to migrate models. - Run
npm run db:seed
to seed database. - Run
npm run dev
to start the development server
CAA 290822 0400