Welcome to the E-Commerce Project! This Express-based application is designed to help you manage and sell products online with a multi-vendor system.
To get started with this project, follow these steps:
- Node.js: Ensure you have Node.js installed on your machine. You can download it from nodejs.org.
- npm: npm comes bundled with Node.js. Make sure you have the latest version.
-
Clone the Repository
git clone https://github.com/Sharif-Minhaz/versa-store-backend.git cd your-repo
-
Install Dependencies
- Run the following command to install the required npm packages:
npm install
- Set Up Environment Variables
- Create a .env file in the root directory of the project and add your environment variables. Follow the
default.env
file. For example:
SECRET_KEY=
JWT_EXPIRES_IN=
MONGODB_URI=
REFRESH_JWT_EXPIRES_IN=
REFRESH_SECRET_KEY=
.........
- Run the Application
- Start the application using npm:
npm run dev
- The server should now be running at
http://localhost:8080
.