Building a desktop app to track GitHub requests by Angular 2.
Project detail
Add a web page to server application that you created in Unit 4:
• Name the page view-[whatever your database is].html
• Use AngularJS to to make the request of all the data from the database
• Use
• Add two buttons:
o “Next Record”
o “Previous Record
• Use AnglularJS on a button click to change the record displayed
• Remember to use CSS to keep it pretty.
• Update the project in your GitHub repository. Input your GitHub URL when complete.
//MongoDB
Modify the server you created in Lab 10 from Unit 4 to use a MongoDB database to store your data records instead of using files. Connect to the local MongoDB server. Create a database which will be named to reflect your project (example: videogames). Create a collection, again named appropriately (example: gamedata). Each document in the collection is a record.
For all the services in in your router.js file, change any file logic to use MongoDB instead. For example, modify the POST method to insert the JSON object into the collection. The service returns the appropriate HTTP response after inserting the document.
Make similar modifications for all the services in your services.js file.
Update your GitHub repository with the changes. Input your GitHub URL when complete.
// made changes in the existing server with the above instructions