Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Book Store - MERN Full Stack Project

Description

This project is a simple web application to manage a book store. It is a full stack project using the MERN stack (MongoDB, Express, React, Node.js).

The functionalities developed are:

  • List all books
  • Add a new book
  • Edit a book
  • Delete a book

Future Improvements

  • Search book by title
  • Login and authentication
  • Authorization
  • Pagination
  • REST API

Installation & Setup

Install the required packages in the backend folder.

$ cd backend
$ npm install

Install the required packages in the frontend folder.

$ cd frontend
$ npm install

In the backend folder, there is a sampleConfig.js file. Create a new file named config.js and copy the content of sampleConfig.js to config.js. Replace the MongoDB connection string with your own connection string.

export const mongoDBURL =
  "mongodb+srv://<user_name>:<password>@book-store-db.chncoxg.mongodb.net/books-collection?retryWrites=true&w=majority";

Running the app

To run the app, run the following command in the backend folder.

$ npm run dev

To run the app, run the following command in the frontend folder.

$ npm run dev

Credits to the following resources

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages