1.1.1 • Published 1 year ago

express-ts-setup v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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-setup

Usage

After installation, follow these steps to set up your Express TypeScript project:

  1. Run the setup command:
npx express-ts

This command will create the necessary files and folder structure for your TypeScript Express app.

  1. Start the development server:
npm run server

This command will start your Express server using ts-node, allowing you to run your TypeScript code directly without compilation.

  1. Build the TypeScript files:
npm run build

This command will compile your TypeScript files into JavaScript.

  1. Run the built application:
npm run start

This command will run the compiled JavaScript files.

Scripts

  • npm run server: Starts the development server using ts-node
  • npm run build: Compiles TypeScript files to JavaScript
  • npm 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.

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago