express-locallibrary-tutorial
Из публичных источниковВеб-сайт «Local Library», написанный на NodeJS/Express; пример для модуля MDN о серверной разработке на NodeJS: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs.
Машинный перевод · Показать оригинал
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.
Обзор
- demo
- example
- express
- nodejs
- webapp
Установка
Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.- Сборка из исходниковИз публичных источниковиз метаданных каталога
Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.
github.com/mdn/express-locallibrary-tutorial ↗
Совместимость
«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.| Платформа | Статус | Архитектура | Доказательство | Уверенность |
|---|---|---|---|---|
| Web browser | Неизвестно | — | — | — |
| Server / self-hosted | Неизвестно | — | — | — |
| Container (OCI) | Неизвестно | — | — | — |
Релизы
проверено 30 окт. 2026 г.Профиль качества
алгоритм quality-v1.0 · оценено 16 окт. 2026 г.Составляющие оценки
Лицензия
CC0-1.0Это статус политики каталога, а не юридическое заключение.
Источники
Отзывы
Отзывов пока нет.
Альтернативы
README
Из mdn/express-locallibrary-tutorial · лицензия CC0-1.0 · загружено 30 окт. 2026 г.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:
-
Set up a Node.js development environment.
-
Once you have node setup install the project in the root of your clone of this repo:
npm install -
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 -
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.
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:
npm test