Released under the Apache License 2.0
To run this application you'll need:
- EditorConfig
- Node.js (Strongly recommended to install it via nvm or n)
- Yarn
- MongoDB Community Edition (Check installation guides)
- Install dependencies:
yarn install
- Duplicate
.env.example
and rename it to.env
- Make sure you have MongoDB running (To know more: MacOS, Windows, CentOS, Ubuntu or Debian)
- Start frontend:
yarn start:frontend
- Start server:
yarn start:dev
- Access it: http://localhost:9000/
Note: Docker setup is still a work in progress and does not offer a good developer experience. For now we recommend you to run the project locally following the instructions listed above. If you still want to use docker, here's how:
- Make sure you have Docker Desktop running
- Start docker:
docker-compose up
ordocker-compose up -d
- Access it: http://localhost:9000/
- Once your done, finish docker:
docker-compose down
To run the unit tests you have two options:
yarn test
to run all the tests and collect the coverage report. Or;- Execute in a
watch
mode by runningyarn test:watch
First, make sure you have the project up and running with database, backend, and frontend.
- Duplicate
cypress.env.example.json
and rename it tocypress.env.json
- Edit
cypress.env.json
adding valid user credentials (Username and password)Note: Tests will delete all models from your user. To avoid lost your work we recommend you to create a different user to run the tests
- To run the tests you have two options:
- Run headless mode in your terminal window:
yarn test:cy
- Run interactive mode:
yarn cy:open
- Run headless mode in your terminal window:
- Stable: https://app.brmodeloweb.com
- Staging: https://brmodelo-stage.herokuapp.com
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!