Skip to content

Launa-Reswara/notes-backend-il

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes Backend

A simple notes API with CRUD functionality

Documentation of API

Route Method Description
/api/v1 GET Home API
/api/v1/notes GET Get all available notes
/api/v1/notes/:id GET Get note based on its id
/api/v1/notes/add POST Add new note
/api/v1/notes/edit/:id PATCH Edit note based on its id
/api/v1/notes/delete/:id DELETE Delete note based on its id

Screenshots

pic 1 pic 2
pic 3 pic 4
pic 5

Getting Started

  • Clone this repo.
  • Install all dependencies with npm install.
  • Run all SQL commands provided from notes_db.sql. You can find the file in src/lib/utils/notes_db.sql.
  • Create a .env file. You can check the format in .env.example file.
  • Type npm run dev in your terminal and see the result in http://localhost:5000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published