An express based back end for maintaining a library
In order to run this project MongoDB, node.js and npm need to be installed and working.
Make sure you have an instance of MongoDB running, either locally or through a sevice such as mLab.
You will also need to set two new environment variables: LIGHTSHELF_DB
with the url to the MongoDB instance and LIGHTSHELF_SECRET
with your own secret key for JWT authentication. Alternativelly you can just enter them as strings in config.js
.
After this, user npm install
and npm start
to run the service normally.