Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yesworld/starter-server-node-ts

☕️ REST API using Node with typescript, KOA framework. TypeORM for MySQL.
https://github.com/yesworld/starter-server-node-ts

class-validator decorator koa node orm routing-controllers ts tsconfig tslint typeorm typescript yarn

Last synced: 2 months ago
JSON representation

☕️ REST API using Node with typescript, KOA framework. TypeORM for MySQL.

Awesome Lists containing this project

README

        

# Awesome Project KOA

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

### Steps to run this project:

1. Run `yarn` or `npm i` command
2. Copy and rename `.env.example` to `.env`. Setup database settings inside this file
3. Run `yarn run sync` or `npm run sync` command for create tables in your DB

## TODO LIST:
* [x] Fix: https://github.com/typestack/routing-controllers/issues/273
* [x] Error middleware
* [ ] if [problem](https://github.com/typeorm/typeorm-routing-controllers-extensions/issues/11) is solved, change routes by **typeorm-routing-controllers-extensions**
* [ ] Create relations
* [ ] Middleware JWT
* [ ] Create unit tests
* [ ] Log files ?
* [ ] **class-validator v0.9** doesn't work in Routing. The same problem `IsUserAlreadyExist.ts` [issue #384](https://github.com/typestack/routing-controllers/issues/384)

```
# downgrade #
"class-validator": "^0.8.1",
```

## License

[MIT License](./LICENSE)

Copyright (c) @yesworld