CCAS online ordering system for custom vehicle orders.
The application is organized in the following manner:
- Client (localhost:8080)
- Service API (localhost:3000)
- Supplier APIs
- ACME Autos API (localhost:3050)
- Rainier Transporation Solutions API (localhost:3051)
This application relies on Node version 6.9.1.
To set up your CLI to the right Node environment, you can install nvm
. Follow the instructions here.
Then, you can run the following commands:
nvm install 6.9.1
nvm use 6.9.1
If necessary, you can change where the APIs are served by changing the values in each .env
file.
If you haven't installed MongoDB yet, you can do so by following the instructions here and then run mongod
.
npm run install
: install packages for the whole applicationnpm run start
: starts the whole applicationnpm run watch
: starts the whole application in watch modenpm run test
: runs tests for the whole application
You can run these scripts individually by adding :client
, :api
, :acme
, or :rainier
to the script name.
For example: npm run watch:api
will start nodemon
for the service API.