Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Library Book App Idea

John Hampton edited this page Apr 12, 2017 · 1 revision

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website

This free, 7-part tutorial on MDN is an awesome run-through of learning NodeJS with Express. The tutorial guides you to:

  • Use the Express Application Generator tool to create a skeleton website and application.
  • Start and stop the Node web server.
  • Use a database to store your application's data.
  • Create routes for requesting different information, and templates ("views") to render the data as HTML to be displayed in the browser.
  • Work with forms.
  • Deploy your application to production

The end-result application is an online catalog for a small local library, where users can browse available books and manage their accounts. The MDN tutorial app is NOT a MEAN Stack application - it uses Express/NodeJS/MongoDB and to deliver server-side rendered HTML templates with Pug (formerly Jade).

However, this application could be easily converted to a SPA (single page application) by adding Angular in place of Pug for the HTML templating, and changing the Express server to send JSON instead of HTML to the front-end. This would be a great exercise in learning the MEAN Stack.

Additional enhancements could be added, both on the front-end and back-end.

Clone this wiki locally