Skip to content

simple book library application built with Node.js and Express, using MongoDB as the database.

Notifications You must be signed in to change notification settings

hussein-saad/Local-Library

Repository files navigation

Book Library Application

This application is a simple book library management system built using Node.js, Express, and MongoDB.

Live Demo

You can access the live application at https://local-library-production-107a.up.railway.app

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • Express
  • MongoDB

Installation

  1. Clone the repository:
git clone https://github.com/hussein-saad/Local-Library.git
  1. Navigate into the project directory:
cd Local-Library
  1. Install the dependencies:
npm install
  1. Create a .env file in the root of your project and add your MongoDB connection string:
MONGODB_URI=mongodb+srv://username:[email protected]/?retryWrites=true&w=majority
  1. Start the application:
npm start

Deployment

To deploy this application, you need to set the MONGODB_URI environment variable in your production environment. The method to do this depends on your hosting provider.

Acknowledgments

This project was inspired by and built upon the Local Library project from the Mozilla Developer Network (MDN). We would like to express our gratitude to MDN for providing such a comprehensive and educational example.

About

simple book library application built with Node.js and Express, using MongoDB as the database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published