Make an Angular application on which your friends can fill in their data so you can have it in your node.js friendlist api using the angular cli.
- Use the angular cli commands
- Have a basic understanding of typescript
- Generate components and services in angular
- Configure a provided node API
- Make a basic angular form
- Send http requests from an angular app to a node server
- working form (it pushes to the node server => also created working function in server.js)
- "list" is also working, but there are some changes appearance-wise in order
- must-have features covered
- routing is also available (through a nav-bar)
- deleting by email address
- missing homepage
- putting email deletion into new component
-
install node_modules with
npm install
in both subfolder ~/basic-angular-form/basic-angular-form and ~/basic-angular-form/server -
- Then use the
ng serve
command in the ~/basic-angular-form/basic-angular-form folder(the actual angular project) - and use the
node server
command in the ~/basic-angular-form/server folder (the server)
- Then use the
-
Finally go to http://localhost:4200/ unless this port is taken (if so follow the instructions of the terminal)
ps.: the homepage is empty at the moment, so you have to start by clicking a link in the nav. Enjoy.