Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikro-orm/express-js-example-app
https://github.com/mikro-orm/express-js-example-app
express mikro-orm nodejs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikro-orm/express-js-example-app
- Owner: mikro-orm
- Created: 2019-11-15T17:06:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T00:25:24.000Z (2 months ago)
- Last Synced: 2024-10-30T02:50:26.506Z (2 months ago)
- Topics: express, mikro-orm, nodejs
- Language: JavaScript
- Size: 297 KB
- Stars: 19
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Express + SQLite + JavaScript example integration
1. Install dependencies via `yarn` or `npm install`
2. Run via `yarn start` or `yarn start:dev` (nodemon)
3. 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
```