Skip to content

ValGrace/Ecommerce-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce-project

anypay is an ecommerce online store with a range of products for sale

Features

  • User authentication using firebase

image image

  • Homepage

  • image image

  • Product store with a range of products

  • image image image

  • User can purchase airtime

  • Product cart powered by redux

  • Checkout functionality from an express serverless backend

  • image image

Steps to run this project:

  • Clone the project using git clone
  • Switch to the client side directory: cd frontend
  • Run npm install to install all the reuired dependencies then npm start.
  • The app will now automatically open in your default browser

Payment Gateway

The express backend is implemented using the serverless framework and it runs stk push reuest function.

  • Open a new terminal and switch to the backend directory: cd backend
  • Run npm install
  • Create an account on mpesa daraja api platform then create a new app sandbox
  • Create a .env file in the root directory. add the following values in the file:
    1. consumerKey=consumerKeyValue
    2. consumerSecret=consumerSecretValue
    3. passKey=passKeyValue
    4. API_GATEWAY=
    NOTE: Leave API_GATEWAY value empty
  • Start the server using sls offline start --param="tunnel=true"

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published