{"id":29027032,"url":"https://github.com/itsanjanamourya/notes-app-websocket","last_synced_at":"2026-04-12T09:06:54.740Z","repository":{"id":295050565,"uuid":"988921788","full_name":"itsAnjanaMourya/Notes-App-WebSocket","owner":"itsAnjanaMourya","description":"This is a real-time collaborative task management web application built using the MERN stack, enhanced with socket.io for live updates and JWT-based authentication for secure user access. Users are assigned either admin or user roles. Admins can view all users' tasks and presence (Online/Offline). Regular users see and manage only their own tasks.","archived":false,"fork":false,"pushed_at":"2025-05-23T09:53:09.000Z","size":421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T06:02:06.545Z","etag":null,"topics":["mongodb","node","react","socket-io","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsAnjanaMourya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-23T09:26:16.000Z","updated_at":"2025-05-23T09:53:12.000Z","dependencies_parsed_at":"2025-05-26T07:48:53.955Z","dependency_job_id":null,"html_url":"https://github.com/itsAnjanaMourya/Notes-App-WebSocket","commit_stats":null,"previous_names":["itsanjanamourya/notes-app-websocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsAnjanaMourya/Notes-App-WebSocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsAnjanaMourya%2FNotes-App-WebSocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsAnjanaMourya%2FNotes-App-WebSocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsAnjanaMourya%2FNotes-App-WebSocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsAnjanaMourya%2FNotes-App-WebSocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsAnjanaMourya","download_url":"https://codeload.github.com/itsAnjanaMourya/Notes-App-WebSocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsAnjanaMourya%2FNotes-App-WebSocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273534088,"owners_count":25122635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mongodb","node","react","socket-io","websocket"],"created_at":"2025-06-26T06:02:00.885Z","updated_at":"2025-10-25T06:19:18.583Z","avatar_url":"https://github.com/itsAnjanaMourya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Prerequisites\n    Node.js installed on your local machine.\n    MongoDB Atlas or local MongoDB setup.\n\n**Installation**\n\n### Clone the repository\n    git clone https://github.com/itsAnjanaMourya/Notes-App-WebSocket.git\n\n### Navigate to the project directory\n    cd Notes-App-WebSocket\n\n### Navigate to the backend directory\n    cd backend\n\n### Install backend dependencies\n    npm i\n\n### Create an .env file \n    In the backend folder, create a .env file with the following variables:\n\n    MONGODB_URL= \u003cyour-mongodb-atlas-uri\u003e\n    PORT=3200\n    BASE_URL= \u003cyour-frontend-url\u003e\n    SECRET_KEY= \u003csecret-key-for-signing-JWT\u003e\n    ADMIN_EMAIL=\u003cadmin-email-address\u003e\n    ADMIN_PASSWORD=\u003cadmin-password\u003e\n\n### Start the backend server\n    npm start\n\n**Frontend Setup**\n\n### Navigate to the frontend directory\n    cd frontend\n\n### Install frontend dependencies:\n    npm i\n\n### Start the frontend development server\n    npm start\n\n\n**Usage**\n    Register: Create an account by providing a username, email, and password.\n\n    Login: Log in using the registered credentials.\n\n    Manage Notes:\n    Add: Create new notes by filling in the title, description, and status.\n\n    Edit: Update existing notes by selecting the edit button.\n    \n    Delete: Remove notes you no longer need.\n\n    Search: Search any task using search bar.\n\n    Priority Filter: Filter task by High or Low priority (High priority: red, Low Priority: green, Medium Priority: yellow).\n\n**API Endpoints**\n### Authentication\n    POST /user/register: Register a new user.\n\n    POST /user/login: Log in to get a JWT.\n\n    POST /user/logout: Invalidate the user session.\n\n    GET /admin/users: get all users\n\n    GET /admin/tasks: get all tasks of user\n\n    GET /admin/tasks:userId get task by  user id\n\n### Notes\n    GET /notes/getNotes: Get all notes for the authenticated user.\n\n    POST /notes/addNote: Add a new note.\n\n    PUT /notes/updateNote/:id: Update a note by its ID.\n\n    DELETE /notes/deleteNote/:id: Delete a note by its ID.\n\n### Project Screenshots\n![home page1](./project_screenshots/Screenshot1.png)\n![home page2](./project_screenshots/Screenshot2.png)\n![login](./project_screenshots/Screenshot3.png)\n![register](./project_screenshots/Screenshot4.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsanjanamourya%2Fnotes-app-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsanjanamourya%2Fnotes-app-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsanjanamourya%2Fnotes-app-websocket/lists"}