{"id":26057311,"url":"https://github.com/polypasc/notes-backend-mern","last_synced_at":"2026-04-10T02:34:15.180Z","repository":{"id":281194103,"uuid":"944441441","full_name":"PolyPasc/notes-backend-mern","owner":"PolyPasc","description":"Backend for MERN Notes Taking App","archived":false,"fork":false,"pushed_at":"2025-03-07T13:33:51.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T14:29:16.939Z","etag":null,"topics":["expressjs","jwt","mongodb","mongoose","nodejs"],"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/PolyPasc.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}},"created_at":"2025-03-07T10:54:42.000Z","updated_at":"2025-03-07T13:33:55.000Z","dependencies_parsed_at":"2025-03-07T14:39:36.677Z","dependency_job_id":null,"html_url":"https://github.com/PolyPasc/notes-backend-mern","commit_stats":null,"previous_names":["polypasc/notes-backend-mern"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyPasc%2Fnotes-backend-mern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyPasc%2Fnotes-backend-mern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyPasc%2Fnotes-backend-mern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyPasc%2Fnotes-backend-mern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolyPasc","download_url":"https://codeload.github.com/PolyPasc/notes-backend-mern/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242539044,"owners_count":20145884,"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","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":["expressjs","jwt","mongodb","mongoose","nodejs"],"created_at":"2025-03-08T11:08:08.115Z","updated_at":"2025-12-08T02:04:15.059Z","avatar_url":"https://github.com/PolyPasc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Note Taking App\n\nA note-taking application built using **MongoDB**, **Express.js**, **Node.js** stack. This app allows users to create, edit, and delete notes.\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Technologies Used](#technologies-used)\n- [Installation and Setup](#installation-and-setup)\n- [Running the Project](#running-the-project)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [Acknowledgments](#acknowledgments)\n- [Contact](#contact)\n\n## Prerequisites\n\n1. Node and npm are required. Here are the versions that I have used.\n\n   ```bash\n   node --version\n\n   v22.1.0\n   ```\n\n   ```bash\n   npm --version\n\n   10.7.0\n   ```\n\n2. Git is required. Here's the version that I have used\n\n   ```bash\n   git --version\n\n   git version 2.45.0.windows.1\n   ```\n\n3. At last, a GitHub account. :octocat:\n\n## Technologies Used\n\n- **Node.js:** JavaScript runtime for building scalable network applications.\n- **Express.js:** Web application framework for Node.js.\n- **MongoDB:** NoSQL database for storing data.\n- **Mongoose:** ODM (Object Data Modeling) library for MongoDB and Node.js.\n- **Bcrypt:** Library for hashing passwords.\n- **Jsonwebtoken:** Library for creating and verifying JSON Web Tokens.\n- **CORS:** Middleware for enabling Cross-Origin Resource Sharing.\n\n## Installation and Setup\n\nTo set up this project locally, follow these steps:\n\n1.  **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/PolyPasc/Notes-mern.git\n\n    cd Notes-mern/backend\n    ```\n\n2.  **Install dependencies:**\n\n    ```bash\n    npm install\n    ```\n\n3.  **Create a `.env` file:**\n\n    Duplicate the `.env.example` file and rename it to `.env`. Fill in the required environment variables, such as MongoDB connection strings and token secret.\n\n    ```\n    MONGO_URI=mongodb_connection_string_without_db_name\n    TOKEN_SECRET=your_jwt_secret\n    PORT=your_desired_port\n    ```\n\n## Running the Project\n\n- **Start Server:** Use `npm run dev` for development mode with automatic restarts.\n\n  ```bash\n  npm run dev\n  //or\n  nodemon index.js\n  ```\n\n  The server will start on `http://localhost:3737`. If the `PORT` environment variable in `.env` file is `3737`.\n\n## Project Structure\n\nHere is a brief overview of the project structure:\n\n```\n    /controllers            # Controllers for handling requests\n    /models                 # Mongoose models\n    /routes                 # API routes\n    index.js                # Server entry point\n    utils.js                # Utility functions\n    .env.example            # Sample environment variables\n    .gitignore              # Git ignore files\n    package-lock.json       # Locks dependencies versions\n    package.json            # Project metadata and dependencies\n```\n\n## Contributing\n\nContributions are welcome! Please follow these guidelines:\n\n1. Fork the repository.\n2. Create a new branch `git checkout -b feature/YourFeature`.\n3. Make your changes.\n4. Commit your changes `git commit -am 'Add new feature'`.\n5. Push to the branch `git push origin feature/YourFeature`.\n6. Create a new Pull Request.\n\n## Acknowledgments\n\n- [Node.js](https://nodejs.org/)\n- [Express.js](http://expressjs.com/)\n- [MongoDB](https://www.mongodb.com/)\n- [Bcrypt](https://www.npmjs.com/package/bcrypt)\n- [JSON Web Token](https://jwt.io/)\n- [Nodemon](https://nodemon.io/)\n\n## Contact\n\nFor any questions or feedback, please reach out to:\n\n- :e-mail: **Email:** github@technologist.anonaddy.com\n- :point_right: **LinkedIn:** [in/pratap-adit](https://www.linkedin.com/in/pratap-adit)\n- :octocat: **GitHub:** [PolyPasc](https://github.com/PolyPasc)\n\n---\n\nThank you for checking out my project! If this project helped / interests you, then give it a :star2: Star.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolypasc%2Fnotes-backend-mern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolypasc%2Fnotes-backend-mern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolypasc%2Fnotes-backend-mern/lists"}