https://github.com/MatheusGeiger/node-employee-api
https://github.com/MatheusGeiger/angular-cli
This project use git submodules. Read more https://git-scm.com/book/en/v2/Git-Tools-Submodules
After clone, inicialize the submodules:
git submodule init
Git will not download the contents of the submodules when cloning this project. To make the clone of all the commands you must execute:
git submodule update
before running project use git submodule foreach git pull origin master
to get the last version of code provided in master branch.
Using docker you can up the project with command docker-compose up --build
This command will up and create three containers:
- API: the employees and users api
- ANGULAR_CLI: the client view with graphs and table from employees
- MONGO: the database to persist values from employees and user
After run up the project command we can access then using urls above:
- API: http://localhost:3001/api/employess
- ANGULAR_CLI: http://localhost:4200