Skip to content

A powerful RESTful API backend for managing personal notes and bookmarks featuring user authentication, smart search, and bookmark metadata fetching. Built using Node.js, Express, and Prisma ORM on PostgreSQL.

Notifications You must be signed in to change notification settings

DanishAbdullahPy/NOTES-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Notes & Bookmark Manager - Backend

This is the backend component for the Personal Notes & Bookmark Manager application, built with Node.js, Express, and Prisma (PostgreSQL). It provides a RESTful API for managing user authentication, notes, and bookmarks.

Table of Contents

Features

  • User Authentication (Register, Login, Profile Management) with JWT.
  • CRUD operations for Notes (Create, Read, Update, Delete).
  • CRUD operations for Bookmarks (Create, Read, Update, Delete).
  • Search and filter notes/bookmarks by keywords and tags.
  • Mark notes/bookmarks as favorites.
  • Auto-fetch title for bookmarks from URLs (Bonus Feature).
  • Robust validation and error handling.

Tech Stack

  • Backend: Node.js, Express.js
  • Database: PostgreSQL (via Prisma ORM)
  • ORM: Prisma
  • Authentication: JSON Web Tokens (JWT), bcryptjs for password hashing.
  • Validation: express-validator
  • Environment Management: dotenv
  • Other Utilities: CORS, Helmet (for security headers, if implemented), Axios (for URL metadata fetching).

Getting Started

Follow these steps to get the backend up and running on your local machine.

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm (Node Package Manager)
  • A PostgreSQL instance

Installation

  1. Clone the repository:

    git clone <your-repository-url>
    cd notes-bookmarks-backend
  2. Install dependencies:

    npm install

Environment Variables

Create a .env file in the root of the project and populate it with the following required environment variables:

About

A powerful RESTful API backend for managing personal notes and bookmarks featuring user authentication, smart search, and bookmark metadata fetching. Built using Node.js, Express, and Prisma ORM on PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published