Development Environment - HeartUoA/HeaRT GitHub Wiki
To use the in-built commit helper, please ensure to install commitizen globally by running
npm install commitizen -g
You will then be able to add commit messages using git cz
Frontend instructions
Start development client:
yarn start-client
Run client tests:
yarn test-client
Build client for production:
yarn build-client
Backend instructions
This backend uses MongoDB, make sure you have it installed in your system.
Install MongoDB and start your server: MongoDB instructions
Seed database with sample data if you want:
yarn seed
Start development server:
yarn start-server
Run server tests:
yarn test-server
Build server for production:
yarn build-server
Start server in production environment:
yarn serve