A simple yet powerful full-stack application for managing personal notes. Create, edit, and save your notes locally or sync them across devices with a secure cloud-based database.
- Offline First: Notes are automatically saved to your browser's local storage.
- Secure Authentication: Users can sign up and log in securely with JWT-based authentication.
- Cloud Sync: Log in to save your notes to a cloud database and access them from anywhere.
- Undo & Redo: Correct mistakes with easy-to-use undo and redo functionality.
- Personalization: Toggle between light and dark themes to suit your viewing preference.
Follow these steps to set up and run the project on your local machine.
- Node.js (LTS version recommended)
- npm (or yarn)
- A MongoDB database (local or cloud-hosted)
-
Clone the repository:
git clone https://github.com/SHLapi/Note-App.git cd Note-App -
Install server dependencies:
npm install
-
Create a
.envfile in the root directory. -
Add your MongoDB connection string and a secret key for JWT.
DB_URL=your_mongodb_connection_string JWT=your_super_secret_jwt_key_here
-
Start the server from the project's root directory:
node backend/server.js
The server will start on
http://localhost:5000. -
Open your browser and go to
http://localhost:5000to use the application.
- Frontend:
HTML5,CSS3,Vanilla JavaScript - Backend:
Node.js,Express.js - Database:
MongoDB(viaMongoose) - Authentication:
JSON Web Tokens (JWT),bcryptjs - Environment:
dotenv
- Name: Abdullah Shalabi
- Email: [abdullahshalabi.95@gmail.com]