This project aims to present a platform for registering person CRUD; this is a template for a complete project made with angular 7 and Json-Server; Here you will be able to view the items, add, edit and remove; The interface was made with primeng;
To run it, you need to have Angula Cli, Node, and Json-Server configured on the machine;
- npm install -g @ angular / cli to install Angular
- https://nodejs.org/dist/v12.16.3/node-v12.16.3-x64.msi to download and install Node
- npm i -g json-server to install Json-Server
After cloning or downloading the repository, access the application root and execute the following commands:
- npm install --save to download node_modules packages;
- json-server --watch db.json to raise the backend;
- Run
ng serve
for the dev server. Navigate tohttp://localhost:4200/
- The application will be updated automatically;
- You can view the execution of the application;
- Accessing this link https://vmedeiros.github.io/angular-crud-20/#/
- It is also necessary to run the base "db.json" locally;