Skip to content

pvgomes/my-stuff-api

Repository files navigation

my-stuff-api

Setup database

docker-compose up -d

Setup api

lein ring server-headless

Endpoints

curl http://localhost:3000

run tests

lein midje

coverage

lein cloverage --runner :midje

Mongodb

Connect to mongo db using cli to make some queries

docker exec -it mongodb bash
mongo --host localhost --port 27017
show dbs
use mystuff
db.owners.find()
db.owners.remove({})

In docker we use mongoimport to upload mocks

About

my stuff api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published