Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

express-locallibrary-tutorial

> 后端框架
Open source

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

1.3K stars0 likes0 views
WebsiteGitHub

About

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

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 Node.js development environment.

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

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

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

Contributing

The project is the result of carefully running through all the steps in the tutorial on MDN. Any changes to either MDN or this project must be synchronized. Generally it is better to implement changes here before submitting them to MDN.

Before submitting a PR, make sure that the tests pass:

bash
npm test

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptdemoexampleexpressnodejs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架