A full-stack library application that uses javascript (node.js, express.js, handlebars.js) and a MySQL database to track books loaned out to students and faculty at the Northwestern University, McCormick School of Engineering, Department of Material Science and Engineering.
- Mini Library Book Tracker Description
- Features to have
- Features to create if time or for future uses
- Technologies used for this project
- Dependencies
- How to setup and use this app
- File and directory structure
- Revision history
App & Device can be used to monitor weather conditions in agricultural, industrial or commercial applications and can be expanded to monitor numerous other types of data according to the need of the client, market and by sensors available.
-
Ability to create, edit and delete records in admin section
-
Public has ability to view available books
-
Google Authentication for login
-
Printing report of checked out books
Description of technologies used to develop this app.
-
Node.js
-
Express.js
-
Handlebars.js
-
Custom made ORM
-
MySQL Database
-
All of them are transitive dependencies of the provided npm package.
body-parser: 1.17.1,
express: 4.15.2,
express-handlebars: 3.0.0,
handlebars: 4.0.8,
method-override: 2.3.8,
mysql: 2.13.0
-
Open your command-line user interface (CLI)
-
Clone the mlbt repository to your computer in your desired file path
-
Configure the
connection.js
file to your MySQL Workbench settings -
Type
node server.js
in CLI to connect to the server -
For client-side view: Enter
http://localhost:3000
in the URL bar to view it in the browser. For administrator view: add/admin
or/crud
paths to the local host URL to load administrator-side pages.
.
├── config
│ │
│ ├── connection.js
│ │
│ └── orm.js
│
├── controllers
│ │
│ └── mlbtracker_controller.js
│
├── db
│ │
│ ├── schema.sql
│ │
│ └── seeds.sql
│
├── models
│ │
│ └── mlbtracker.js
│
├── package.json
│
├── public
│ │
│ ├── assets
│ │ │
│ │ ├── css
│ │ │
│ │ │ └── mlbtracker_style.css
│ │ │
│ │ └── images
│ │ |
│ │ ├── addbook.jpg
│ │ │
│ │ ├── admin.jpg
│ │ │
│ │ ├── index.jpg
│ │ │
│ │ └── logo.jpg
│ │
│ └── test.html
│
├── server.js
│
└── views
│
├──layouts
│ │
│ └── main.handlebars
│
└── bookcheckout.handlebars
│
├── bookcrud.handlebars
│
├── checkout.handlebars
│
├── index.handlebars
│
└── usercrud.handlebars
Description of revisions made to the app - In Process, last updated 9/16/2017
- Wireframe project
- Researched project
- File layout and database structure
- Coded project
- Cleaned up code