https://github.com/metalcamp/ts-template
TypeScript template repo
https://github.com/metalcamp/ts-template
docker docker-compose eslint eslint-config express express-js expressjs nodejs nodejs-api template typeorm typescript typescript-template
Last synced: 3 months ago
JSON representation
TypeScript template repo
- Host: GitHub
- URL: https://github.com/metalcamp/ts-template
- Owner: metalcamp
- Created: 2020-05-12T06:35:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:05:54.000Z (over 2 years ago)
- Last Synced: 2023-03-05T07:05:12.951Z (over 2 years ago)
- Topics: docker, docker-compose, eslint, eslint-config, express, express-js, expressjs, nodejs, nodejs-api, template, typeorm, typescript, typescript-template
- Language: TypeScript
- Size: 1.67 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# TypeScript template repo
Includes:
* TypeScript
* Jest
* ESLint (with some plugins preconfigured)
* Express
* Typeorm
* Winston logger## Steps to run this project
1. Run `yarn` command
2. Setup database settings inside `ormconfig.json` and `docker-compose.yml` file
3. Copy .env.example to .env `cp .env.example .env`
3. Run `docker-compose up -d`
4. Run `yarn start` command## Tests
Run all tests
```
yarn test
```Run unit tests
```
yarn unit
```Run integration tests
```
yarn integration
```