Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rathoretaruncodes/ts-nodemon-starter

Nodemon-powered Typescript Express boilerplate
https://github.com/rathoretaruncodes/ts-nodemon-starter

boilerplate-template expressjs nodemon starter-kit typescript

Last synced: about 2 months ago
JSON representation

Nodemon-powered Typescript Express boilerplate

Awesome Lists containing this project

README

        

# ts-nodemon-starter

A TypeScript starter template with Nodemon for automatic reloading and Express.js.

## Features

- **TypeScript**: Type-safe JavaScript with static type checking.
- **Nodemon**: Automatic server reloading during development.
- **Express.js**: Minimal and flexible Node.js web application framework.
- **dotenv**: Environment variable management.

## Getting Started

### Prerequisites

Ensure you have the following installed:

- [Node.js](https://nodejs.org/)
- [Yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/) (for package management)

### Installation

To use `ts-nodemon-starter` in your project, follow these steps:

1. **Clone the repository**

```bash
git clone https://github.com/rathoretaruncodes/ts-nodemon-starter.git
cd ts-nodemon-starter

2. **Install Dependencies**

```bash
npm install

2. **Setup a `.env` File**

Create a `.env` file in the root directory by copying `.env.example`:
```bash
cp .env.example .env

### Usage

1. **Development**
Start the development server with automatic reloading:

```bash
npm run dev

2. **Build**
Compile TypeScript files to JavaScript:

```bash
npm run build

3. **Start**
Run the compiled application:

```bash
npm start

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or fix.
3. Make your changes and ensure they are well tested.
4. Open a pull request with a clear description of your changes.

## License

This project is licensed under the [MIT](https://github.com/rathoretaruncodes/ts-nodemon-starter/blob/main/LICENSE) license.

## Contact

For any questions or feedback, please open an issue in the [repository](https://github.com/rathoretaruncodes/ts-nodemon-starter).