https://github.com/lorransutter/local-library
Express JS tutorial from Developer Mozilla
https://github.com/lorransutter/local-library
css3 expressjs html5 javascript mongodb mongoosejs nodejs
Last synced: about 1 year ago
JSON representation
Express JS tutorial from Developer Mozilla
- Host: GitHub
- URL: https://github.com/lorransutter/local-library
- Owner: LorranSutter
- Created: 2020-02-14T01:00:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T01:52:18.000Z (over 3 years ago)
- Last Synced: 2023-03-05T23:44:19.583Z (over 3 years ago)
- Topics: css3, expressjs, html5, javascript, mongodb, mongoosejs, nodejs
- Language: JavaScript
- Homepage:
- Size: 764 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Local Library
Tutorial from [Developer Mozilla](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website) to build a Local Library using [Express JS](http://expressjs.com/)
Part of BCDV1007 - Full Stack Development II from [Blockchain Development](https://www.georgebrown.ca/programs/blockchain-development-program-t175/) program from [George Brown College](https://www.georgebrown.ca)
## :runner: How to run
Open your terminal in the folder you want to clone the project
```sh
# Clone this repo
git clone https://github.com/LorranSutter/Local-library.git
# Go to the project folder
cd Local-library
# Install dependencies
npm install
# Run the project
npm start
```
If you want to use your own mongodb account, replace the following variable with your own mongo URL:
```sh
# Go to connectionDB.js
MONGOURI =
```
Then you may populate your database using the following command:
```sh
node populatedb.js
```
## :book: Resources and technologies :computer:
- [Developer Mozilla](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website) - tutorial to build local library
- [Express.js](http://expressjs.com/) - web application framework
- [Pug](https://pugjs.org/api/getting-started.html) - template engine for Node.js and for the browser
- [MongoDB](https://www.mongodb.com/) - NoSQL database
- [Async](https://caolan.github.io/async/v3/) - library to perform asynchronous operations
- [Express validator](https://express-validator.github.io/docs/) - middleware to validate data