create-crud-api
is a simple and efficient tool to generate CRUD APIs quickly. With a few prompts, it allows you to choose your preferred framework, ORM, and folder structure.
To use this package, you need to have Node.js installed. If you haven't installed it yet, you can download it from here.
You don't need to install this package globally. Instead, you can use it with npx
:
npx tuttrue-create-crud-api
Run the command above and follow the prompts:
- Choose your framework: Select the framework you want to use (e.g., Express, Hono, etc.).
- Choose your ORM: Select the ORM for database interaction (e.g., Prisma, Mongoose, etc.).
- Choose your folder structure: Select the folder structure for your project.
The tool will then generate the necessary files and folders for a basic CRUD API setup based on your choices.
- Framework selection: Choose from popular frameworks to build your API.
- ORM selection: Integrate your preferred ORM for database operations.
- Customizable folder structure: Organize your project the way you like.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
- New frameworks and ORMs: Help us support more frameworks and ORMs.
- Bug fixes: Identify and fix bugs.
- Documentation: Improve and expand the documentation.
- Feature requests: Suggest and implement new features.
- Examples: Provide examples and tutorials to help others get started.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or need further assistance, feel free to open an issue or contact us at [email protected].