Skip to content

🪨 Clojure backend serving a REST api connected to Mongo DB to acquire data from audiovis I/O.

Notifications You must be signed in to change notification settings

vi-son/artwork.audiovis-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

audiovis i/o API/Database backend

Storing artwork creations in a MongoDB via Clojure

Prerequisites

You will need [Leiningen][] 2.0.0 or above installed. [leiningen]: https://github.com/technomancy/leiningen


Running

To start a web server for the application, run: lein ring server


Working with the database

  • Access the MongoDB database mongo --username $USER --password $PWD

  • Describe the database

show dbs
use audiovisio
show collections
  • Delete all items db.collectionName.remove({})

  • List all items db.collectionName.find()

  • List a specific item db.collectionName.find({session: "oensirdaeinso"})

About

🪨 Clojure backend serving a REST api connected to Mongo DB to acquire data from audiovis I/O.

Resources

Stars

Watchers

Forks

Packages

No packages published