ProShop is an eCommerce application built using the MERN stack (MongoDB, Express, React, Node.js). The application provides a robust platform for managing products, users, and orders, complete with authentication and authorization features.
To get started with the ProShop application, follow these steps:
-
Clone the repository:
git clone https://github.com/h3nrzi/proshop.git cd proshop -
Install backend dependencies:
npm install
-
Install frontend dependencies:
npm install --prefix frontend
-
Set up environment variables: Create a
.envfile in therootdirectory and configure your environment variables as required -
Run the application in development mode:
npm run start:dev
To import data into the database, run:
npm run data:importTo destroy data from the database, run:
npm run data:destroydata:import: Imports data into the database using the seeder script.data:destroy: Destroys data from the database using the seeder script.server: Starts the backend server with nodemon for development.client: Starts the frontend development server.start:dev: Runs both the backend and frontend development servers concurrently.build: Builds the backend and frontend for production.start: Starts the backend server in production.
@paypal/react-paypal-js: ^8.5.0@reduxjs/toolkit: ^1.9.3axios: ^1.3.5bootstrap: ^5.2.3moment: ^2.30.1react: ^18.3.1react-bootstrap: ^2.7.2react-dom: ^18.3.1react-helmet-async: ^2.0.5react-icons: ^4.8.0react-redux: ^8.0.5react-router-dom: ^6.10.0react-toastify: ^10.0.5
bcryptjs: ^2.4.3colors: ^1.4.0cookie-parser: ^1.4.6express: ^4.19.2jsonwebtoken: ^9.0.2lodash: ^4.17.21mongoose: ^7.0.1morgan: ^1.9.0multer: ^1.4.5-lts.1react-hook-form: ^7.52.0
Hossein Rezaei
This project is licensed under the ISC License.
