Build RESTful API for Note Apps Back-end using NodeJs.
- Save Notes (Create)
- View Notes (Read)
- Edit Notes (Update)
- Delete Notes (Delete)
Front-end cek in link : http://notesapp-v1.dicodingacademy.com/.
notes-app-back-end
├── node_modules
├── src
│ ├── handler.js
│ ├── notes.js
│ ├── routes.js
│ └── server.js
├── .eslintrc.json
├── package-lock.json
└── package.json
- server.js : load code for create, config, and run server HTTP using Hapi.
- routes.js : load code config routing sercer like determine path, method, and handler used.
- handler.js : load all functin handler used in file routes.
- notes.js : load data notes saved in object array form.
All file javaScript which we create will save in folder src. this matter intends to separate from file configuration project such as .eslintrc.json, package.json, package-lock.json, and node_modules.