A comprehensive MERN (MongoDB, Express.js, React, Node.js) bookstore project that allows users to manage books with ease. You can add, edit, or delete books in various views, including card and table formats.
Front end set up:
- tailwindcss: A utility-first CSS framework.
- postcss: A tool for transforming styles with JavaScript plugins.
- autoprefixer: A plugin to parse CSS and add vendor prefixes.
- react-icons: Popular icons for React applications.
- react-dom: Entry point to the DOM and server renderers for React.
- axios: Promise-based HTTP client for the browser and Node.js.
- react-router-dom: Declarative routing for React.js.
- Notistack Snackbar library to display notifications on your web apps.
Backend set up:
- cors: Middleware for handling Cross-Origin Resource Sharing (CORS).
- mongoose: MongoDB object modeling for Node.js.
- mongodb: A general-purpose, document-based database.
- express: Fast, unopinionated, minimalist web framework for Node.js.
- nodemon: Utility that monitors for changes in your source and automatically restarts your server.
- Clone the repository:
git clone https://github.com/your-username/bookstore-project.git
- Navigate to the project directory
cd bookstore-project
- Install dependencies for both frontend and backend:
cd frontend
npm install
cd backend
npm install
- Start the development server:
cd frontend
npm start
cd backend
npm start