Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikro-orm/express-ts-example-app
https://github.com/mikro-orm/express-ts-example-app
express mikro-orm nodejs typescript
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikro-orm/express-ts-example-app
- Owner: mikro-orm
- Created: 2019-11-15T17:12:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T20:17:53.000Z (about 2 months ago)
- Last Synced: 2024-10-29T22:46:37.188Z (about 2 months ago)
- Topics: express, mikro-orm, nodejs, typescript
- Language: TypeScript
- Size: 285 KB
- Stars: 61
- Watchers: 5
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Express + MongoDB + TypeScript example integration
1. Install dependencies via `yarn` or `npm install`
2. Run `docker-compose up -d` to start mongodb
3. Run via `yarn start` or `yarn start:dev` (watch mode)
4. Example API is running on localhost:3000Available routes:
```
GET /author finds all authors
GET /author/:id finds author by id
POST /author creates new author
PUT /author/:id updates author by id
``````
GET /book finds all books
GET /book/:id finds book by id
POST /book creates new book
PUT /book/:id updates book by id
```