WebClub-NITK / book-directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Development with Express.js 2022

This repo is for the assignment submission.

Book Directory - A basic express app to store books and their authors, and search among the added books.

Setup Instructions

  1. Clone the repository
    git clone https://github.com/WebClub-NITK/book-directory.git

  2. Go to the root directory of the project
    cd book-directory

  3. Install all the required npm packages
    npm i

  4. Create a .env file like the .env.example file in the root directory of the project.

  5. Get your details from mongoDB Atlas at put it in the .env file. Example:
    MONGO_URL='mongodb+srv://<username>:<password>@<cluster-name>.jwixq.mongodb.net/?retryWrites=true&w=majority'

  6. Run the server
    node app.js

Resources

Link to the assignment

About


Languages

Language:EJS 58.3%Language:JavaScript 39.4%Language:CSS 1.9%Language:Shell 0.3%