Skip to content

CRUD application. Allows adding, removing, and updating book titles. MVC pattern.

Notifications You must be signed in to change notification settings

uladaharanina/local_library

Repository files navigation

Local Library App

CRUD application. Allows adding, removing, and updating book titles. MVC pattern.

This project still requires some work.

Local Library

Get started

  1. Clone the application to your local computer:
gh repo clone wadewilsones/local_library
  1. Install all packages:
npm install

For this application I've used MongoDb Atlas. So to start working with your DB you will need to change the MONGOURI in app.js file

//app.js

const mongoose = require("mongoose");
const mongoDb = process.env.MONGODB_URI; // Change this MONGODB_URI to your own value.
mongoose.connect(mongoDb, {useNewUrlParser: true, useUnifiedTopology: true });
const db = mongoose.connection;
db.on("error", console.error.bind(console, "MongoDB connection error:"))
  1. Start the application
npm run serverstart

About

CRUD application. Allows adding, removing, and updating book titles. MVC pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published