Zircoz / express-locallibrary-tutorial

MDN's Local Library with a whole lot of features (in development)
https://test-lib-webnauth.herokuapp.com
Creative Commons Zero v1.0 Universal
2 stars 3 forks source link

IMPORTANT NOTE BEGINS

This fork is under development and readme + contribution guidelines are obsolete. We'll update them and write detailed docs for running the feature-rich branches on your system since they may differ from original repo's and need additional packages & setup (mostly software) for newbies. Please let us know in issues before starting to work on any of the branches in this fork to prevent duplication and unnecessary conflicts. You can check our project for measuring the progress. However, it only measures the issues we hav started or are about to start working on. There might be more planned developments not listed in project or issues.

IMPORTANT NOTE ENDS

express-locallibrary-tutorial

Tutorial "Local Library" website written in in Node/Express.


This web application creates an online catalog for a small local library, where users can browse available books and manage their accounts.

For more information see the associated MDN tutorial home page.

Note The auth branch in this repository implements an unsupported and undocumented version of the library with User Authentication and Authorization. This may be a useful starting point for some users.

Quick Start

To get this project up and running locally on your computer:

  1. Set up a Nodejs development environment.
  2. Once you have node setup, enter the following commands in the root of your clone of this repo:
    npm install
    DEBUG=express-locallibrary-tutorial:* npm run devstart   #For linux
  3. Open a browser to http://localhost:3000/ to open the library site.

Note: The library uses a default MongoDb database hosted on MongoDB Atlas. You should use a different database for your own code experiments.