Simple Library application in Express and PUG/Jade
- IE > 8 or any other web brower
- Node
- Node package manager
- setup mongo lab URI or set it manually in /app.js set up URI locally: export MONGOLAB_URI='mongodb:https://:@ds147469.mlab.com:47469/local_library'
- Clone the repository or download
- npm rm -rf node_modules
- npm install
- run npm start
- PORT=4000 npm run start 5.1 to run in dev mode: PORT=4000 npm run devstart
- go to local host:3000
Local Library app allows you to add, update and delete authors, books and bookinstances.
- An author may only be deleted if there are no books that belong to that author.
- Books can only be deleted if there are no bookinstances that belong it.
*Author: Binh Khuu