{"id":15040564,"url":"https://github.com/dhiwise/dhiwise-nodejs","last_synced_at":"2025-04-05T13:06:15.647Z","repository":{"id":40595265,"uuid":"428137232","full_name":"DhiWise/dhiwise-nodejs","owner":"DhiWise","description":"DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.","archived":false,"fork":false,"pushed_at":"2024-01-24T07:49:34.000Z","size":1806,"stargazers_count":326,"open_issues_count":5,"forks_count":93,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-05T13:06:09.430Z","etag":null,"topics":["api-builder","api-generator","api-rest","expressjs","javascript","mongodb","mongoose","nodejs","nodejs-api","quick-api-builder","rest-api","restful-api","sequelize"],"latest_commit_sha":null,"homepage":"https://dhiwise.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DhiWise.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-11-15T05:44:52.000Z","updated_at":"2025-02-22T17:17:31.000Z","dependencies_parsed_at":"2024-10-31T01:01:13.342Z","dependency_job_id":null,"html_url":"https://github.com/DhiWise/dhiwise-nodejs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2Fdhiwise-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2Fdhiwise-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2Fdhiwise-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2Fdhiwise-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DhiWise","download_url":"https://codeload.github.com/DhiWise/dhiwise-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339155,"owners_count":20923014,"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":["api-builder","api-generator","api-rest","expressjs","javascript","mongodb","mongoose","nodejs","nodejs-api","quick-api-builder","rest-api","restful-api","sequelize"],"created_at":"2024-09-24T20:44:44.759Z","updated_at":"2025-04-05T13:06:15.627Z","avatar_url":"https://github.com/DhiWise.png","language":"JavaScript","readme":"[![GitHub stars](https://img.shields.io/github/stars/DhiWise/nodejs-code-generator?style=flat-square\u0026color=yellow)](https://github.com/DhiWise/nodejs-code-generator)\n[![Issues](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\u0026color=66bb6a)](https://github.com/DhiWise/nodejs-code-generator/issues)\n\n# Node.js Code Generator\n\u003cp\u003e\nNode.js code generator is a developer-centric platform to build backend CRUD APIs along with other essential features to boost developers' productivity time by twofold!\n\nDevelopers just need to add their schema data to reduce their work related to models into a few simple configurations. Developers can also configure platforms , routes, role access, authentication \u0026 more for their application.\n\nMost importantly, the Node.js code generator gives developers total code ownership. The code it generates is bug-free and easily customizable\n\u003c/p\u003e\n\n## Table of contents\n\n* [Get started](#get-started)\n\n* [Supported Architectures](#supported-architectures)\n\n* [Features](#features-of-generated-code)\n\n* [Documentation](#documentation)\n\n## Get started \nAfter a successful run, a user can configure different settings using UI, and build an app to generate the code.\n1. To run ```npm i \u0026\u0026 npm run start```\n\u003e :warning: Note: Use ```npm i --force``` If your npm installation fails. As Node version \u003e= 14 will give you errors if peer dependency in different packages have ambiguation in versions.\n2. With ```npm run start``` project will run on 3000 port.\n3. Run http://localhost:3000 and you will see \"create application\" form. After creating an application you can configure modules and build the app to get the source code.\n\u003cimg src=\"https://development-dhvs.s3.ap-south-1.amazonaws.com/uploads/user-profile/open-source.gif\" alt=\"create-application\"/\u003e\n4. After a successful build, Generated code will resides inside the **packages/server/output** folder.\n\n## Supported architectures\n\nThis project provides two architectures to choose from, while creating an application.\n### \u003ca href=\"https://github.com/DhiWise/nodejs-code-generator/blob/master/CLEAN_CODE.md\"\u003eClean Code\u003c/a\u003e\nThe main rule of clean architecture is that code dependencies can only move from the outer levels inward. Code on the inner layers can have no knowledge of functions on the outer layers.\n\n### \u003ca href=\"https://github.com/DhiWise/nodejs-code-generator/blob/master/MVC_ARCHITECTURE.md\"\u003eMVC - Model-View-Controller\u003c/a\u003e\nThe Model-View-Controller (MVC) is an architectural pattern that separates an application into three main logical components: the model, the view, and the controller. Each of these components are built to handle specific development aspects of an application.\n\n## Features of generated code\n1. User Authentication and Authorization (using Passport)\n2. Social Login APIs\n3. CRUD APIs with middleware and attributes' selection\n4. List API with pagination, populate and queries\n5. Upload attachment API with validation and storage options like (Local server or S3 public/private bucket)\n6. Role-Permission\n8. Hooks and Indexes\n9. Policy/middleware\n10. API request body validation (Using joi)\n11. API response with standard error and message pattern\n12. Test cases\n13. Postman collection and API documentation\n15. Constants\n17. Environment Variables for development, QA and production\n18. Custom API setup\n19. Multiple Platform selection and User type configuration\n20. MVC and Clean-code architecture \n21. Supported Databases \u003cbr\u003e\n    a. MongoDB\u003cbr\u003e\n    b. SQL Server\u003cbr\u003e\n    c. MYSQL\u003cbr\u003e\n    d. PostgreSQL\n\n## Documentation\n\nHere's the Documentation of \u003ca href=\"https://docs.dhiwise.com/docs/node/generate-apis/\"\u003eHow you can use generated APIs\u003c/a\u003e\n\n## Contribution\nHave you found a bug? :lady_beetle: \u003ca href=\"https://github.com/DhiWise/nodejs-code-generator/issues/new?assignees=\u0026labels=type%3A%20bug\u0026template=bug_report.md\u0026title=\"\u003ePlease report it here\u003c/a\u003e\nor have a nice feature 💡 to contribute? Add it \u003ca href=\"https://github.com/DhiWise/nodejs-code-generator/issues/new?assignees=\u0026labels=type%3A%20feature%20request\u0026template=feature_request.md\u0026title=\"\u003e here \u003c/a\u003e \n\u003cbr/\u003e\nOur \u003ca href=\"https://github.com/DhiWise/nodejs-code-generator/blob/master/CONTRIBUTING.md\"\u003eContribution guide \u003c/a\u003e will help you how to contribute.\n\n## Support\nIf you have problems or questions go to our Discord channel, we will then try to help you as quickly as possible: https://discord.gg/hTuNauNjyJ\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhiwise%2Fdhiwise-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhiwise%2Fdhiwise-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhiwise%2Fdhiwise-nodejs/lists"}