dk-api
Inital setup
- Install
node
and Docker - Run
npm install -g yarn
to installyarn
- Run
yarn
in the working directory to install required packages - Use the linter files provided to ensure consistent code style across the repository
Development
- Create a copy of
.env.example
and rename it to.env
. This will contain the environment variables for the app. - Run
docker-compose up -d
in the project directory to start the services (eg. database) that the backend needs to run. - Run
yarn dev
to start the development server