Important
The application is currently migrating to v2. This includes:
- Full migration from AngularJS to React
- Rewrite of all editors
- Bug fixes and usability improvements
- New NoSQL modeling support
This repository is temporarily out of sync with the live application at app.brmodeloweb.com.
Until the migration is complete (over the next few weeks), we will not be updating this public repository nor accepting external contributions. Once the migration is finalized, the repo will be updated with the new version.
Thank you for your patience!
Released under the Apache License 2.0
To run this application you'll need:
- EditorConfig
- Node.js version 20.x (Strongly recommended to install it via nvm or n)
- Yarn version 1.x
- MongoDB Community Edition version 4.x (Check installation guides)
- Install dependencies:
yarn install - Duplicate
.env.exampleand 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 upordocker-compose up -d - Access it: http://localhost:9000/
- Once your done, finish docker:
docker-compose down
- Duplicate
cypress.env.example.jsonand rename it tocypress.env.json - Update
cypress.env.jsonwith valid user credentials (Username and password)
Warning
The data from the accound you set in cypress.env.json will be wiped out after the tests run.
So, don't use your real account here!
To run E2E tests you have two options:
- Run headless mode in your terminal window:
yarn test:cy - Run interactive mode:
yarn cy:open
To run the unit tests you have two options:
yarn testto run all the tests and collect the coverage report. Or;- Execute in a
watchmode by runningyarn test:watch
- 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 are welcome — please note that external contributions are temporarily paused while the v2 migration is in progress (see the notice at the top of this README).