- Install dependencies
npm install- Initialize and fill database with data
npm run init- Build client code
npm run build:production- Start server
npm run start| Role | Login | Password |
|---|---|---|
| admin | admin1 |
qwerty |
| engineer | engineer |
qwerty |
| customer | customer1 |
qwerty |
There are a few scripts that you can use.
- Use to run server in development mode
- Watches for changes in server code
- Use to compile client side in development mode
- Watches for changes in client code
- Use to compile client side code in production mode
- Use to run linting
- Use to compile client side in hot-reloading mode
- Watches for changes in client code and hot reload
- Run server in development mode (don't watch changes in server code)
- Use to initialize database with default data
- Node.js 8+