Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.gitignore initial commit with MikroORM v3 Nov 15, 2019
README.md initial commit with MikroORM v3 Nov 15, 2019
docker-compose.yml initial commit with MikroORM v3 Nov 15, 2019
package.json update dependencies, remove ts, fix build Dec 2, 2019
yarn.lock update dependencies, remove ts, fix build Dec 2, 2019

README.md

Express + MongoDB + JavaScript 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 (nodemon)
  4. Example API is running on localhost:3000

Available 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
You can’t perform that action at this time.