Skip to content

SantaVM/expr-library

Repository files navigation

express-library

"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. Also implemented User Authentication and Authorization.

A UML diagram showing the relation of database entities in this example repository

Note This project based on this MDN tutorial..

Quick Start

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

  1. Set up a Node.js development environment.

  2. Once you have node setup install the project in the root of your clone of this repo:

    npm install
  3. Run the tutorial server, using the appropriate command line shell for your environment:

    # Linux terminal
    DEBUG=express-locallibrary-tutorial:* npm run devstart
    
    # Windows Powershell
    $ENV:DEBUG = "express-locallibrary-tutorial:*"; npm start
  4. 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.

About

"Library" website written in Node/Express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors