Crafted with Node.js, Express, and MongoDB, our sophisticated backend note management system elevates your productivity. Seamlessly integrating user authentication and note management functionalities, it offers a streamlined experience for organizing your thoughts.
- Clone the repository.
git clone https://github.com/Pranshu820/SECUREU-Note-Taker
-
Ensure Node.js is installed on your machine.
-
Install dependencies
npm install
-
Set up the MongoDB database and obtain the connection URI.
-
Create a
.env
file in the root directory and add the following environment variables:
PORT=3000
MONGODB_URI=your_mongodb_connection_uri
JWT_SECRET=your_secret_key
CORS_ORIGIN=http://localhost:3000
To start the application, run:
npm run dev
Postman or any preferred API testing tool facilitates thorough examination of the application's functionalities. Here's a breakdown of available endpoints:
- Register User - POST "/api/auth/register"
- Login User - POST "/api/auth/login"
- Get User - GET "/api/auth/"
- Create Note - POST "/api/notes/"
- Get Notes - GET "/api/notes/"
- Update Note - PUT "/api/notes/:id"
- Delete Note - DELETE "/api/notes/:id"
We warmly welcome contributions from everyone. If you have suggestions for improvements or new features, please feel free to open an issue or make a pull request. Your input is invaluable in enhancing the functionality and user experience of this project.
Together, let's create something exceptional!