vprankul0306 / notes-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notes API

An API to fetch, create, search and share notes. Authentication also works along with these features. (Sharing is in works)

API Reference

Authentication

Login

  POST /api/auth/login

Signup

  POST /api/auth/signup

Logout

  POST /api/auth/logout

Notes

Get all notes

  GET /api/notes

Get a specific note

  GET /api/notes/:id

Create Note

  POST /api/notes

Edit a note

  PUT /api/notes/:id

Delete a note

  DELETE /api/notes/:id

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MONGO_URI

PORT

JWT_SECRET

About


Languages

Language:JavaScript 100.0%