Notebook is a user-friendly note-taking application that allows you to create, update, edit, and delete notes efficiently. The application ensures secure user authentication and authorization, enabling only logged-in users to access the features.
- Create Notes: Add new notes with ease.
- Edit Notes: Update your existing notes anytime.
- Delete Notes: Remove notes you no longer need.
- User Authentication: Secure login system using JWT and cookies.
- Password Security: Passwords are securely hashed using bcrypt.js.
- Protected Access: Only authenticated users can access the application features.
- Node.js: JavaScript runtime for server-side development.
- Express: Web framework for Node.js.
- MongoDB: NoSQL database for storing notes and user information.
- EJS: Templating engine for rendering the UI.
-
Clone the repository:
git clone https://github.com/MohitCode17/Notebook-App.git cd notebook
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and add the following variables:PORT=your_port MONGODB_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
-
Start the application:
npm start
- Navigate to
http://localhost:your_port
in your browser. - Register a new account or log in with existing credentials.
- Start creating, updating, editing, and deleting notes.