Coder Social home page Coder Social logo

lechathei / express-locallibrary-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdn/express-locallibrary-tutorial

0.0 0.0 0.0 527 KB

Local Library website written in NodeJS/Express; example for the MDN server-side development NodeJS module: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs.

License: Creative Commons Zero v1.0 Universal

JavaScript 75.96% CSS 0.12% Pug 23.92%

express-locallibrary-tutorial's Introduction

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.

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

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 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.

express-locallibrary-tutorial's People

Contributors

hamishwillee avatar vaibhavajaygupta avatar dependabot[bot] avatar bsmth avatar chrisdavidmills avatar rafaelgreen1 avatar truepadawan avatar andreykozhevnikov avatar benneee avatar scottbowles avatar icehongssii avatar mozilla-github-standards avatar veksen avatar dipikabh avatar pizzaisdavid avatar cvoudouris avatar hyfydistro avatar btwalpole avatar assafgelber avatar voloshchenkoal avatar aaronmikelkey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.