This is the backend server for the Notes App. It is built using Node.js and provides RESTful APIs to create, read, update, and delete notes.
- Node.js
- Hapi
- Clone this repository to your local machine.
- Run
npm install
to install the necessary dependencies. - Start the server using
npm start
.
The following endpoints are available:
GET /api/notes
- Get all notes.GET /api/notes/:id
- Get a single note by ID.POST /api/notes
- Create a new note.PUT /api/notes/:id
- Update a note by ID.DELETE /api/notes/:id
- Delete a note by ID.
You can use the Notes App client to interact with the backend server.
If you would like to contribute to this project, please create a pull request and we will review your changes.
This project is licensed under the MIT License.