Skip to content

arpitcodes/E-Commerce-Web-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce-Web-App

How To run this project in your local machine ?

Download the following tools first

MongoDb

Robo 3t

Node.js

Postman

after downloading these tools Download the repo as it is. after opening each folder open terminal and write "npm i" or "npm install" to install the corresponding dependencies in projbackend and in projfrontend part. now after installing dependencies for running the app use "npm start"

Project Structure

Backend

Our backend is built on top of express.js The backend follows standard Models, View, and Controller Architecture here. For that we have a diagram briefly explaining about these things.

MVC structure

Models: A folder having all the database Schemas related to the current Application.
Routes: A folder containing the Routes for performing CRUD in database using the frontend.
Controllers: The brain of the app. Since controller is a folder having all the functions and scripts for controlling the queries.
View: Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.The view means presentation of the model in a particular format. Here we are preparing the models in mongoose dependency.

Backend Folder Tree

backend folder structure

Frontend

The frontend or the user interface is created in the React.js Library of JavaScript. Currently, ReactJS gaining quick popularity as the best JavaScript framework among web developers.

Frontend Folder Tree

frontend folder structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published