A CLI tool to create a TypeScript Express application with best practices
MIT License
The easiest way to create a new Express app is to use the Create New Express App. The Create New Express App is a tool that generates a new Express app with a predefined folder structure. To create a new Express app using the Create New Express App, follow these steps:
npm install -g create-new-express-app
create-new-express-app my-express-app
Replace my-express-app
with the name of your app.
Or, you can use the following command to create a new Express app using npx:
npx create-new-express-app my-express-app
cd my-express-app
The Create New Express App is a great tool for quickly creating a new Express app with a predefined folder structure. It saves you time and effort by generating the boilerplate code for you. This allows you to focus on building your app instead of setting up the project structure. It includes many useful features such as:
zod
, morgan
, and helmet
to help you get started quickly.morgan
to log HTTP requests to the console.