This is a simple notes project for testing Nest (Node.js framework).
- Clone:
git clone https://github.com/hydra13/nest-notes-api.git
- Install depedences:
cd nest-notes-api
npm i
- Configure your MongoDB connection in:
src/config/keys.ts
- Start service:
npm start
- Get all notes:
GET /notes
- Get note by ID
GET /notes/:id
- Create new note:
POST /notes
{
title: :title,
text: :text
}
- Update note by ID:
PUT /notes/:id
{
title: :title,
text: :text
}
- Delete note by ID:
DELETE /notes/:id`;
- TypeScript
- Node.js
- MongoDB (Mongo Cloud - https://cloud.mongodb.com/)
- Nest.js