Let's go to see the full moon tonight!
This is mono repository with frontend and backend technologies JavaScript based
Get started with the project by running the following commands or you can manually install the dependencies:
> make getting-started
This command install all dependencies necessary to run the project. And will start backend and frontend servers in your local environment.
After only you have to run the following command to start the servers:
make run-servers
By default servers will be started in the next ports:
- Frontend Angular: http://localhost:4200
- Backend Express: http://localhost:3333/api/items
Make sure all dependencies have been installed before
- Node.js >= 14
- NPM >= 6
- Git
- Nx >= 12.10
- Docker (for deploy)
- Install Nx globally or use it with
npx
:
> npm install -g nx
- Install the dependencies on roor path of the project:
> npm install
- Running servers:
nx serve dark-side-express # default port is 3333
nx serve light-side-angular # default port is 4200
For generating the production build run the following command:
make deploy # generate the production build images with docker
for re-running container servers via docker run:
make deploy-start
and stop the servers with:
make deploy-down
Note: view the generated docker images with:
docker images ls