Skip to content

hydra13/nest-notes-api

Repository files navigation

Nest Notes API

Nest Logo

This is a simple notes project for testing Nest (Node.js framework).

How to test the project:

  • 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

API

  1. Get all notes:
GET /notes 
  1. Get note by ID
GET /notes/:id 
  1. Create new note:
POST /notes 
{
  title: :title,
  text: :text
}
  1. Update note by ID:
PUT /notes/:id
{
  title: :title,
  text: :text
}
  1. Delete note by ID:
DELETE /notes/:id`;

Used:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published