An ecommerce project built with the MERN stack.
Client Demo Hosted on Netlify
·
Dummy Data Admin Repo
·
My LinkedIn
Table of Contents
The Embossed React Ecommerce app is an online shopping app built with the MERN stack. There are three directories in the project's root directory: client, admin and server.
The client app will be the one users will be using to browse for and add products to carts.
The admin app is only accessible to users with admin creds and serves as the dashboard where shop user, product, category, cart and sale data can be created, updated and deleted.
The client and admin apps use the same server for interacting with the project's MongoDB database.
Check out the Embossed admin demo dashboard repo that uses dummy data instead of MongoDB data.
Check out the client demo hosted on Netlify to explore the shop.
Below you'll find some instructions on what you'll need to run the project locally on your machine, how to install the app and how to get the app running.
- npm
npm install npm@latest -g
Before you run the admin or client Embossed apps locally, you'll need to install their required dependencies.
-
Clone the repo
git clone https://github.com/your_username_/Project-Name.git
-
Navigate to the desired directory.
cd client
or
cd admin
or
cd server
-
Install NPM packages for each directory.
npm install
-
Rename the .env.example file in the client and server directories to .env
Both the client and admin app use the same server to interact with this project's MongoDB database.
-
Start the client or admin app locally.
npm start
-
Navigate to the the server directory and start the server with the same command.
npm start
- Implement planned CRUD functionality.
- Include server directory to repo.
- Add navbar search functionality.
- Introduce option to apply sales to more than one product or to all products within a category.
- Execute get requests using Redux for products and sales.
The Embossed admin dashboard hosted on Netlify is a version of the app that uses dummy data rather than MongoDB data. You can check out that project's GitHub repo here.
Andrew Fleming - My LinkedIn - aflemi1@gmail.com