1.1.1 • Published 2 years ago
express-ts-setup v1.1.1
Express-ts-setup
This is a starter kit for creating Express.js applications with TypeScript. It provides a quick setup process to get your TypeScript-based Express app up and running.
Installation
Install the package globally using npm:
npm install express-ts-setupUsage
After installation, follow these steps to set up your Express TypeScript project:
- Run the setup command:
npx express-tsThis command will create the necessary files and folder structure for your TypeScript Express app.
- Start the development server:
npm run serverThis command will start your Express server using ts-node, allowing you to run your TypeScript code directly without compilation.
- Build the TypeScript files:
npm run buildThis command will compile your TypeScript files into JavaScript.
- Run the built application:
npm run startThis command will run the compiled JavaScript files.
Scripts
npm run server: Starts the development server usingts-nodenpm run build: Compiles TypeScript files to JavaScriptnpm run start: Runs the compiled JavaScript application
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the ISC License.