Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/yesworld/starter-server-node-ts
- Owner: yesworld
- License: mit
- Created: 2019-03-18T17:08:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-21T07:33:29.000Z (about 1 year ago)
- Last Synced: 2023-11-21T08:33:57.165Z (about 1 year ago)
- Topics: class-validator, decorator, koa, node, orm, routing-controllers, ts, tsconfig, tslint, typeorm, typescript, yarn
- Language: TypeScript
- Homepage:
- Size: 666 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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