Este projeto foi gerado com Angular CLI versão 1.4.9.
Neste projeto, é possível cadastrar, listar e buscar estudantes. O front-end foi desenvolvido utilizando o Angular e o back-end, Flask. O banco de dados escolhido foi o MongoDB.
Para executar o projeto, alguns pacotes deverão ser instalados:
- MongoDB - criar banco
students
- Python3 ou superior
- flask, flask_cors, pymongo:
python3.5 -m pip install flask flask_cors flask_pymongo
- node, npm - rodar
npm install
na raiz do projeto - ng-cli:
npm install -g @angular/cli
Execute o MongoDB.
Rode ng serve
para um servidor dev. Navegue para http://localhost:4200/
.
Para executar o back-end, rode python3.5 mongo.py
.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.