- Node.js v12.0 or above - https://nodejs.org/
The project is using node and some npm packages, to install some packages like Webpack.
| Command | Description |
|---|---|
npm run dev |
Start the development environment |
npm run build |
Build the projects and compile source files |
Once you run Webpack development server is running, this URLs become available:
| URL |
|---|
| http://localhost:9001 |
We use Gitflow as our Git workflow. More explanation here.
- We use Prettier (https://prettier.io/) as code formatting tool. The configuration is written in
.prettierrcat the root of the project. You must NOT edit this file. - We use 2 (two) spaces for indentation.
- We use camelCase for
variables,properties,functionsandmethods. - We use PascalCase for
classes.
Before pushing code, please make sure to :
- Include unit tests to test every function you've added.
- Add comments, and regenerate the documentation :
npm run api. - Clean and refactor code.