1.2.0 • Published 1 year ago
express-backends v1.2.0
Express Backends
Command Line Tool to create an Express Backend Project using an existing template
How to create a new backend project
Run the Following Command
npx express-backends@latest
If it asks to install package, do so.
- Enter your project's name
- Enter your project description
- Enter your name
- Select if you want it to be public or private (package.json)
- Choose the Template you want
- Wait for it to install dependencies
- cd into the project folder
- Configure the .env file
- (If Using Drizzle Only) Use
npm run generate
to generate a migration file. - use
npm run dev
to start a dev environment
Current Templates
Typescript without DB
- Typescript
- ExpressJS
- CORS
- HTTPs support
Typescript with Postgres
- Typescript
- ExpressJS
- CORS
- HTTPs support
- pg
Typescript with Drizzle (Postgres)
- Typescript
- ExpressJS
- CORS
- HTTPs support
- pg
- drizzle-orm
Typescript with MySQL
- Typescript
- ExpressJS
- CORS
- HTTPs support
- mysql2