Skip to content

ArnanK/RESTful-Library-Fullstack-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSCI355 Internet & Web Technologies | Project 2

This project utilizes the Google Books API and provides books for users. This project features a modern design and easy navigation for users to interact with. We also integrated a database which allows for user authentication.

Authors

Acknowledgements

Requirements

Node.js
Docker
MongoDB

Dependencies

    "axios": "^1.6.8",
    "bcrypt": "^5.0.1",
    "cookie-parser": "^1.4.4",
    "cookie-session": "^1.4.0",
    "cors": "^2.8.5",
    "dotenv": "^8.2.0",
    "ejs": "^2.6.2",
    "express": "^4.19.2",
    "express-validator": "^6.10.0",
    "http-errors": "^1.7.3",
    "mongoose": "^5.11.15",
    "multer": "^1.4.5-lts.1",
    "passport": "^0.4.1",
    "passport-local": "^1.0.0",
    "pino": "^6.11.2",
    "pino-pretty": "^4.7.1"

To install dependencies, run the following commands:

npm install

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

API_KEY

API Reference

Powered By the Google Books API

  https://developers.google.com/books
Parameter Type Description
API_KEY string Required. Your API key

Required Software

  • Docker
  • MongoDB
  • MongoDB Compass

Requires MongoDB through Docker

(default port 27017 is mapped to port 37017)

  docker pull mongo
  docker run --name mongodb -p 37017:27017 -d mongo

Verify container is installed by:

  docker ps

Run container by:

  docker start mongo

Run Locally

Clone the project

  git clone https://github.com/ArnanK/HW_Project2_CSCI355.git

Go to the project directory

  cd HW_Project2_CSCI355

Install dependencies

  npm install

Start the server

  npm run start

Presentation

Alt text

About

Project 2 ~ Fullstack Website | CSCI 355.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5