Skip to content

MERN stack app | Backend CRUD | Backend Router | CORS Policy | MongoDB operations | Frontend CRUD | Frontend Router

Notifications You must be signed in to change notification settings

DanFalcon225/MERN_stack_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Library - MERN stack app

The current project primarily focuses on showcasing the core functionality of the online library. It includes the following features:

  • Adding new books to the library database, including details such as title, author, and publication date.
  • Viewing existing books in the library database.
  • Editing book details, including title, author etc.
  • Removing books from the library database.

Backend CRUD | Backend Router | CORS Policy | MongoDB operations | Frontend CRUD | Frontend Router

Tech Stack

Client: React + Vite, TailwindCSS

Server: Node, Express, MongoDB + mongoose

Tools: Postman - for the backend testing

Deployment

To deploy this project need to follow below steps

  1. Create database instance in MongoDB

  2. A config.js file needs to be create in backend folder where corresponding local host port and link to database instance needs to be put.

export const PORT = 5555;
export const mongoDBURL = 
//your db url goes her//

Make sure that collection name is books-collection and localhost port 5555

  1. Please run following command in frontend and backend directory to install remaining dependencies:
npm i
  1. Run following command into the backend and frontend directories
npm run dev

About

MERN stack app | Backend CRUD | Backend Router | CORS Policy | MongoDB operations | Frontend CRUD | Frontend Router

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published