https://github.com/player29879/mern-ecommerce
https://github.com/player29879/mern-ecommerce
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/player29879/mern-ecommerce
- Owner: player29879
- License: mit
- Created: 2024-08-05T14:26:10.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T15:58:04.000Z (11 months ago)
- Last Synced: 2025-02-04T09:33:17.895Z (4 months ago)
- Language: JavaScript
- Size: 16.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MERN Ecommerce Application
Currently under construction for additional features
# Description
Full-stack ecommerce application built with MERN stack. This project has two features:
1. Buyers register and browse the marketplace while interacting with products across different categories.
2. Admins control and manage the marketplace items and customer acounts.# Getting Started
## Dependencies
- Nodejs - The runtime environment of the application
- Reactjs - Component based UI library
- MongoDB - NoSQL database
- Expressjs - Framework to handle routes and requests
- Mongoose - MongoDB object modeling tool to model the database schema## Installation
After you cloned the repository do not start the application. To run the application fully you need to create a database and collection and provide your own database URI.
### Setup
- Go to MongoDB website and create a database and a collection named 'Items' and insert the data in the
server/ItemsCollection.js
file as a document.
- Create a .env file in the server folder and type the following```
NODE_ENV = development
PORT = 5000
MONGO_URI = mongodb+srv://
```### Running
After this you can run the project locally:
- To run the front end
-cd client
-npm start
- To run the back end
-cd server
-npm run dev
TIP: Run both in split terminal so that you can see both ends running# Languages and tools
- [Node](https://nodejs.org)
- [React](https://reactjs.org/)
- [Expressjs](https://expressjs.com)
- [Mongoose](https://mongoosejs.com)
- [Material UI](https://mui.com/)