Skip to content

Tosin-webdev/nodejs-ecommerce-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-ecommerce-webapp

Screenshot (331)

Description

This is an ecommerce web app built with the mern stack and utilizes third party API's

  • features:
    • React for displaying and rendering the UI
    • Redux to manage application's state
    • Nodejs runs the entire backend of this application
    • Express middleware to handle middleware, and routes
    • Mongoose Schema to model the application data
    • Paypal integration

Setup

create a .env file and add the following
PORT = 7000
CONNECTION_URI = your mongodb uri
JWT_SECRET = 'abc123'
PAYPAL_CLIENT_ID = your paypal client id

Install dependencies

git clone https://github.com/Tosin-webdev/nodejs-ecommerce-webapp.git
cd project
npm install

Run

For frontend (PORT = 3000)
npm start

For backend (PORT = 7000)
npm run dev

Demo

site
Deployed the backend to render and the frontend to netlify.