Skip to content

baseergroot/Notes-App-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes App

A simple backend Notes application built with Express.js. Users can sign up, log in, create, read, update, and delete notes. Authentication is handled using JWT and cookies.

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT, cookies
  • Other: bcryptjs for password hashing, cors, dotenv

Features

  • User signup and login
  • Protected routes with JWT authentication
  • CRUD operations on notes
  • Password hashing and secure token cookies

Project Structure

my-project/
├─ backend/         # Express backend
├─ API.md           # API documentation
├─ README.md        # Project overview

Getting Started

  1. Clone the repository
git clone https://github.com/baseergroot/Notes-App-Backend.git
  1. Install dependencies
cd backend
pnpm install
  1. Set up .env file in backend with:
JWT_SECRET=your_jwt_secret
MONGO_URI=your_mongo_connection_string
NODE_ENV=development
  1. Run backend
pnpm dev

API Documentation

For detailed API routes, requests, and responses, see API.md.

License

This project is for learning purposes.

Notes-App-Backend

About

Simple backend for notes app with api documents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors