- For this assignment, I have used:
- AngularJS for front-end.
- NodeJS,ExpressJS for back-end.
- MySQL as the database communicator.
The application once succesfully connected to the database will,
- Allow to create a new grocery list item by clicking on the 'Add a new Item' button . The 'Submit' button in the form ensures that it is disabled if the item title is not entered by the user. It enables once there is a new title. The item description textbox is an optional field.
- The user can view the displayed item title alongside a checkbox that can be checked to mark an item as 'complete'.
- The user can 'unpurchase' an item once it has been marked complete. This functionality is available by clicking on the 'View All Completed Items' button. This will open a list of all completed items. Simply hit 'Un-Purchase' to put the item back on the active list.
- The user can delete the item, removing the item from the database by clicking on the 'Delete' button.
- The user can view/modify the item title or the item description by clicking on the 'View/Modify' button.
Instructions for usage.
- Run command:
nodemon
This will start the server.
-
db.config.js contains the credentials for connecting to the database. Please modify these credentials to run the database on your end.
-
All files are in Grocery List.zip.