Cwc-Scaffold
Cwc-Scaffold is a command-line tool (CLI) that enables users to swiftly generate the fundamental structure for starting Node.js projects, simplifying the development of applications and APIs using TypeScript, Express.js, and Prisma ORM. With the aid of Cwc-Scaffold, developers can save time and effort in the initial project setup, obtaining a solid foundation to kickstart their applications.
Installation
1. npm i cwc-scaffold
Getting Started
To create a new project with Cwc-Scaffold, run the following command:
npm start
This will prompt you to enter the name of your project. After entering the project name, Cwc-Scaffold will create the necessary directory structure, initialize TypeScript configuration, and set up Prisma for database access.
Project Structure
The project structure created by Cwc-Scaffold will look like this:
cwc-scaffold/
├── src/
│ ├── @types/
│ │ └── express/
│ │ └── index.d.ts
│ ├── controllers/
│ ├── helpers/
│ ├── integrations/
│ ├── middlewares/
│ │ └── isAuthenticated.ts
│ ├── services/
│ └── server.ts
├── prisma/
│ └── index.ts
├── .gitignore
├── package.json
└── tsconfig.json
License
This project is open-source and available under the MIT License.
Author
Cwc-Scaffold is developed and maintained by Café com Código. You can find us on GitHub at https://github.com/juniorerivaldo.
Contributing
We welcome contributions from the community. If you find any issues or have suggestions for improvements, feel free to create an issue or submit a pull request.
Happy coding!