Auto-Plex 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 Auto-Plex, developers can save time and effort in the initial project setup, obtaining a solid foundation to kickstart their applications.
1. npm i auto-plex-create -g
To create a new project with Auto-Plex, run the following command:
npx auto-plex-create
This will prompt you to enter the name of your project. After entering the project name, Auto-Plex will create the necessary directory structure, initialize TypeScript configuration, and set up Prisma for database access.
The project structure created by Auto-Plex will look like this:
Auto-Plex/
├── client/
├── server/
│ ├── src/
│ │ ├── prisma/
│ │ │ └── index.ts
│ │ ├── @types/
│ │ │ └── express/
│ │ │ └── index.d.ts
│ │ ├── controllers/
│ │ ├── helpers/
│ │ ├── integrations/
│ │ │ └── index.d.ts
│ │ ├── middlewares/
│ │ │ └── isAuthenticated.ts
│ │ ├── services/
│ │ ├── routes.ts
│ │ ├── .env
│ │ └── server.ts
│ ├── .gitignore
│ ├── package.json
│ └── tsconfig.json
└── README.md
This project is open-source and available under the MIT License. Copyright (c) 2023-present, Cafe (Erivaldo) Com Código
Auto-Plex is developed and maintained by Café com Código. You can find us on GitHub at https://github.com/juniorerivaldo.
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!