Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Latest commit

 

History

History
11 lines (7 loc) · 688 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 688 Bytes

lightshelf-api

An express based back end for maintaining a library

Setup

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.