Alp is an online shopping platform, made using the MERN web-application stack. It allows for customers to browse, select, and purchase products.
The project makes use of MERN web-application stack.
- Clone this repository to your local machine:
git clone https://github.com/mdmubin/alp.git
- Install the project dependencies:
In the root project directory, type the following commands
npm install # backend libs
cd client
npm install # frontend libs
- Seed the data into the database In the root project directory, type the following commands
npm run data:seed
This will run a script which will seed mongodb with the data required for alp
.
In the root project directory, type the following commands:
- To start up the backend server
npm start
- To start up the front-end:
cd client && npm run dev
Open your web browser and navigate to http://localhost:5173 to access the Application.
- Node.js:
v18.17.0
- MongoDB:
v6.0.x
- See package.json for versions of individual libraries