{"id":23278433,"url":"https://github.com/patrickms2/nodecms","last_synced_at":"2026-03-20T01:05:37.291Z","repository":{"id":265900331,"uuid":"695060618","full_name":"patrickms2/nodeCMS","owner":"patrickms2","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-12T15:15:06.000Z","size":1069,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-02T19:25:45.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/patrickms2.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-22T09:11:37.000Z","updated_at":"2023-09-22T09:11:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2210a06-3608-4089-8533-97446753b9a8","html_url":"https://github.com/patrickms2/nodeCMS","commit_stats":null,"previous_names":["patrickms2/nodecms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patrickms2/nodeCMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickms2%2FnodeCMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickms2%2FnodeCMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickms2%2FnodeCMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickms2%2FnodeCMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickms2","download_url":"https://codeload.github.com/patrickms2/nodeCMS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickms2%2FnodeCMS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29379676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-19T22:30:53.084Z","updated_at":"2026-02-12T20:02:26.748Z","avatar_url":"https://github.com/patrickms2.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS, Sequelize, Express Project in MVC Architecture\n\n**Supported version of nodejs \u003e= 12**,\n**Supported version of sequelize \u003e= 6**\n\n## About \n- This is a Node application, developed using MVC pattern with Node.js, ExpressJS, and Sequelize ORM.\n- SQL database is used for data storage, with object modeling provided by Sequelize.\n\n## Initial\n1. ```$ npm install```\n2. ```$ npm start```\n3. Credentials\n\n       - One user with User role,\n\t   # Default User credentials\n\t   **username** : Neva.Parisian\n\t   **password** : Tv13D1DJPuuIiDl\n\n\n## How to use generated APIs:\n[Click here to visit documentation](\u003chttps://docs.dhiwise.com/docs/node/generate-apis/\u003e \"API Documentation\")\n\n## How to run with Docker ? :\n- if you have docker file you can execute following command\n- build the image\n\t```$ docker build --pull --rm -f \"Dockerfile\" -t \u003cimageName\u003e:latest \".\" ```\n- execute the command\n\t```$ docker run -p 3000:3000 \u003cimageName\u003e ```\n\n\n## Folder structure:\n```\n  ├── app.js       - starting point of the application\n  ├── config\n  │   └── db.js    - contains api database connection\n  ├── constants    - contains commonly used constants \n  ├── controllers               \n  │   └── platform - contains business logic\n  ├── jobs         - cron jobs\n  ├── models       - models of application\n  ├── postman      - postman collection files\n  ├── routes       - contains all the routes of application\n  ├── services     - contains commonly used services\n  ├── views        - templates\n  └── utils        - contains utility functions    \n```\n\n## Detail Description of Files and folders\n\n1. app.js\n- entry point of application.\n\n2. config\n- passport strategy files\n- database connection files\n\n3. constants\n- constants used across application.\n\n4. controllers\n- Controller files that contains Business logic\n```\n\t├── controller\n\t\t└── platform\n\t\t\t└── modelNameController.js        - contains CRUD Operations\n```\n\n5. jobs\n- Cron jobs\n\n6. middleware\n- Middleware files for authentication, authorization and role-access.\n\n7. models\n- Database models \n\n8. postman\n- Postman collection of APIs (Import this JSON in Postman to run the APIs)\n\n9. public \n- Assets used in application\n\n10. routes\n```\n\t├── routes\n\t\t├── platform\n\t\t\t├── modelNameRoutes.js   - contains CRUD operation routes\n\t\t\t└── index.js             - exports model Routes\n\t\t└── index.js                 - exports platform routes\n\n```\n- index.js file, exports platform routes, imported into app.js to access all the routes.\n\n11. services\n```\n\t├── services\n\t\t├── jobs                     - cron jobs\n\t\t└── auth.js                  - Authentication module service\n\n```\n\n12. utils\n```\n\t├── utils\n\t\t├── validations              - joi validations files for every model\n\t\t├── dbService.js             - Database functions \n\t\t├── messages.js              - Messages used in sending response \n\t\t├── responseCode.js          - response codes \n\t\t└── validateRequest.js       - validate request based on model schema\n\n```\n\n13. env files\n- You can add credentials and port, database values as per your environment(Development/Production).\n- If you are running test environment then test cases will run using test database,and its configuration is there inside app.js","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickms2%2Fnodecms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickms2%2Fnodecms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickms2%2Fnodecms/lists"}