This application's functionality helps to write, save, and delete notes using the backend Express program allowing saving and retrieving data from the JSON file. The purpose of this application is to help the user organize tasks/events/reminders.
- The public folder contains the html, css, and index.js files that represent the front-end.
- The server.js holds the routes to direct information to the different urls.
- The api/html routes contains all the saved notes in json format.
- Once the server is run, it will display the main page with button to "Get Started" which will take the user to the notes page to start creating new notes by adding a "Note Title" and then "Note Text" which will hold the tasks/event/reminders.
- The db.json file stores all the newly written notes and saved note data as well as updates when a note is deleted.
- The user is able to delete notes when they have completed the task / no longer have use for the note.
- The
uuid
package helps in assigning individual id's to each note to help keep them separate when saving and updating the db.json.
The following dependencies are required to be installed for this application to run properly:
npm i
npm install express
npm install uuid
Once all dependencies have been installed, please follow the directions below in order to run this app:
Run this application in the terminal by running node server.js
command and will open in browser by using localhost:(port #)
. A deployed link is provided for this specific project through Heroku.
This application is licensed under the MIT License.
This project was creating with help from:
- Provided material from: BootCamp Spot class
- My tutor Eric Wallen
- Help from other students in the class in a private study group.
This video helped get me started setting up my files and making sure I had all required dependencies installed:
- Visual Studio Code
- Node.js
- Express
- Heroku
- Terminal / Git Bash
For any other questions about this project, please visit my GitHub page: GitHub Profile.
Or you can email me directly at: Nicole Catapano.