{"id":31917388,"url":"https://github.com/raviyatechnical/learn-nodejs","last_synced_at":"2026-04-02T03:11:02.533Z","repository":{"id":237465667,"uuid":"739956626","full_name":"raviyatechnical/learn-nodejs","owner":"raviyatechnical","description":"Learning Node JS","archived":false,"fork":false,"pushed_at":"2025-02-21T07:42:42.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T06:59:57.523Z","etag":null,"topics":["boilerplate","expressjs","javascript","learning-no","mongodb","mongoose","mvc","nodejs","rest-api"],"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/raviyatechnical.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["bhargavraviya"],"patreon":"raviyatechnical","open_collective":null,"ko_fi":"raviyatechnical","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/raviyatechnical"]}},"created_at":"2024-01-07T04:04:07.000Z","updated_at":"2025-04-18T05:29:50.000Z","dependencies_parsed_at":"2024-10-24T17:42:07.592Z","dependency_job_id":"690aff53-cddc-43e0-909a-6cd7fb15cbd3","html_url":"https://github.com/raviyatechnical/learn-nodejs","commit_stats":null,"previous_names":["raviyatechnical/learn-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raviyatechnical/learn-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviyatechnical%2Flearn-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviyatechnical%2Flearn-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviyatechnical%2Flearn-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviyatechnical%2Flearn-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raviyatechnical","download_url":"https://codeload.github.com/raviyatechnical/learn-nodejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviyatechnical%2Flearn-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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":["boilerplate","expressjs","javascript","learning-no","mongodb","mongoose","mvc","nodejs","rest-api"],"created_at":"2025-10-13T20:29:13.184Z","updated_at":"2026-04-02T03:11:02.505Z","avatar_url":"https://github.com/raviyatechnical.png","language":"JavaScript","funding_links":["https://github.com/sponsors/bhargavraviya","https://patreon.com/raviyatechnical","https://ko-fi.com/raviyatechnical","https://www.buymeacoffee.com/raviyatechnical","https://www.patreon.com/raviyatechnical/membership"],"categories":[],"sub_categories":[],"readme":"![Logo](https://nodejs.org/static/images/logo.svg)\n\n# Learning Node.js\n\nThis project creates a learning of Node.js frontend and backend.\n\nmongodb and chat system using socket\n\n### 💰 Support by donating or sponsoring us.,\n \n [![sponsor](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#white)](https://github.com/sponsors/bhargavraviya) [![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge\u0026logo=patreon\u0026logoColor=white)](https://www.patreon.com/raviyatechnical/membership) [![Buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/raviyatechnical) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/raviyatechnical)\n-----\n\n## Features\n\n- REST API using MySQL (Sequelize)\n- REST API with Caching using node-cache\n\n## Run Locally\n\n```\n/project-root\n│── /src\n│   ├── /config\n│   │   ├── database.js        # Sequelize MySQL Connection\n│   │   ├── mongoose.js        # MongoDB Mongoose Connection\n│   ├── /models\n│   │   ├── /sequelize         # Sequelize Models (MySQL)\n│   │   │   ├── index.js       # Sequelize ORM Setup\n│   │   │   ├── user.model.js  # Example Sequelize Model\n│   │   │   ├── order.model.js # Example Sequelize Model\n│   │   ├── /mongoose          # Mongoose Models (MongoDB)\n│   │   │   ├── index.js       # Mongoose Models Import\n│   │   │   ├── category.model.js  # Example Mongoose Model\n│   │   │   ├── product.model.js   # Example Mongoose Model\n│   ├── /enums\n│   │   ├── Status.js          # Common Status Enum\n│   │   ├── UserRole.js        # Common User Role Enum\n│   ├── /migrations            # Sequelize Migrations\n│   ├── /seeders               # Sequelize Seed Data\n│   ├── /repositories          # Data Access Layer (For Clean Code)\n│   │   ├── user.repository.js # Repository for Sequelize (MySQL)\n│   │   ├── category.repository.js # Repository for Mongoose (MongoDB)\n│   ├── /services              # Business Logic Layer\n│   │   ├── user.service.js    # User Service (MySQL)\n│   │   ├── category.service.js # Category Service (MongoDB)\n│   ├── /controllers           # Controllers (Express.js Routes)\n│   │   ├── user.controller.js # Handles Sequelize Models\n│   │   ├── category.controller.js # Handles Mongoose Models\n│   ├── /routes\n│   │   ├── user.routes.js     # Routes for MySQL (Sequelize)\n│   │   ├── category.routes.js # Routes for MongoDB (Mongoose)\n│   ├── /middlewares           # Express.js Middlewares\n│   ├── /utils                 # Helper Functions\n│   ├── app.js                 # Main Express App\n│   ├── server.js              # Start Server\n│── /tests                     # Unit \u0026 Integration Tests\n│── .env                       # Environment Variables\n│── package.json               # Dependencies\n│── README.md                  # Project Documentation\n```\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/raviyatechnical/learn-nodejs\n```\n\nGo to the project directory\n\n```bash\n  cd learn-nodejs\n```\n\nCopy .env.example to .env\n```bash\n  cp .env.example .env\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nStart the server for development\n\n```bash\n  npm run dev\n```\n\n## Run Server \n\nStart the server\n\n```bash\n  npm run start\n```\n\n## JWT Token\n\n```bash\n  node -e \"console.log(require('crypto').randomBytes(32).toString('hex'))\"\n```\n\n## Tech Stack\n\n**Client:** Coming Soon\n\n**Server:** Node, Express\n\n**Database:** MongoDB, MySQL (Sequelize)\n \n## Authors\n\n- [@bhargavraviya](https://www.github.com/bhargavraviya)\n\n## Lessons Learned\n\nWhat did you learn while building this project? What challenges did you face and how did you overcome them?\n\n[LEARN.md](LEARN.md)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviyatechnical%2Flearn-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraviyatechnical%2Flearn-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviyatechnical%2Flearn-nodejs/lists"}