Scribbly is a 📝 web application for managing notes. It allows users to create, edit, and delete notes, as well as sign up and log in to their accounts.
- ⚛️ React: A JavaScript library for building user interfaces.
- 🎨 Tailwind CSS: A utility-first CSS framework for rapid UI development.
- 🔀 React Router: A library for routing in React applications.
- ⭐ React Icons: A library for including popular icons in React projects.
- 🗃️ Redux Toolkit: A state management tool for efficient and scalable Redux-based apps.
- 🟢 Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
- 🚏 Express: A minimal and flexible Node.js web application framework.
- 🍃 Mongoose: An ODM (Object Data Modeling) library for MongoDB and Node.js.
- 🔐 dotenv: A module to load environment variables from a
.envfile. - 🍪 cookie-parser: A middleware to parse cookies.
- 🌍 cors: A middleware to enable Cross-Origin Resource Sharing.
- 🛢️ MongoDB: A NoSQL database for storing application data.
- 🟢 Node.js
- 📦 npm (Node Package Manager)
- 🍃 MongoDB
- Clone the repository:
git clone https://github.com/your-username/scribbly.git cd scribbly - Install dependencies for the frontend:
cd frontend npm install - Install dependencies for the backend:
cd server npm install - Create a
.env filein theserverdirectory and add the following:MONGODB_URI=your-mongodb-uri JWT_SECRET=your-jwt-secret
- Start the backend server:
cd server npm start - Start the frontend development server:
cd frontend
npm run dev- Open your browser and navigate to
http://localhost:5173
| Method | Endpoint | Description | Authentication |
|---|---|---|---|
POST |
/signup |
User registration | ❌ No |
POST |
/signin |
User login | ❌ No |
GET |
/signout |
Logout | ✅ Yes |
| Method | Endpoint | Description | Authentication |
|---|---|---|---|
POST |
/add |
Add a new note | ✅ Yes |
POST |
/edit/:noteId |
Edit a note | ✅ Yes |
GET |
/all |
Get all notes | ✅ Yes |
DELETE |
/delete/:noteId |
Delete a note | ✅ Yes |
PUT |
/update-pin/:noteId |
Pin/unpin a note | ✅ Yes |
Pull requests are welcome! Feel free to fork and contribute. 🚀
This project is open-source and available under the MIT License.