Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amamov/typescript-node-stater

⚡️ minimal boilerplate based on typescript with node, docker, pm2, prettier, eslint ⚡️
https://github.com/amamov/typescript-node-stater

docker dockerfile javascript node nodejs pm2 tsc tsconfig typescript

Last synced: about 2 months ago
JSON representation

⚡️ minimal boilerplate based on typescript with node, docker, pm2, prettier, eslint ⚡️

Awesome Lists containing this project

README

        

# typescript-node-boilerplate

> ⚡️ minimal boilerplate based on typescript with node, docker, pm2, jest ⚡️

- [If you want a javascript based boilerplate, click here!](https://github.com/amamov/typescript-node-boilerplate/tree/javascript)

## Technology

- Typescript
- ESLint
- Prettier
- Node.js
- Docker
- PM2
- Dotenv
- Jest

## Requirements

- `Node.js (>= 10.13.0, except for v16)`

## Getting Started

1. `git clone https://github.com/amamov/typescript-node-boilerplate.git `

2. `cd `

3. `npm i`

4. `rm -rf .git`

5. `touch .env` (create dotenv file)

6. `npm run dev` or `yarn dev`

7. `npm run test` or `yarn test`

## .env example

```python
# .env

PORT="8000"
...
```