Need help with ecommerce-react?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jgudo
252 Stars 148 Forks Apache License 2.0 183 Commits 6 Opened issues

Description

eCommerce web application using React, Redux, Redux-Saga, Firebase and SASS.

Services available

!
?

Need anything else?

Contributors list

No Data

Salinaka | E-commerce react app

Simple ecommerce react js app with firebase [typescript]. Firebase Deploy

Live demo

Salinaka screenshot Salinaka screenshot Salinaka screenshot Salinaka screenshot

Run Locally

1. Install Dependencies

$ npm install

2. Create a new firebase project

Login to your google account and create a new firebase project here

Create an

env
file - Set filename
.env.prod
file for production and
.env.dev
for development and save it in the root of your project folder and add the following configuration details. You can either use the same configuration details for both development and production but it's best to make separate projects. It can be found on your firebase project settings.
// SAMPLE CONFIG .env.dev, you should put the actual config details found on your project settings

FIREBASE_API_KEY=AIzaKJgkjhSdfSgkjhdkKJdkjowf FIREBASE_AUTH_DOMAIN=yourauthdomin.firebaseapp.com FIREBASE_DB_URL=https://yourdburl.firebaseio.com FIREBASE_PROJECT_ID=yourproject-id FIREBASE_STORAGE_BUCKET=yourstoragebucket.appspot.com FIREBASE_MSG_SENDER_ID=43597918523958 FIREBASE_APP_ID=234598789798798fg3-034

After setting up necessary configuration, create a Database and choose Cloud Firestore and start in test mode

3. Run development server

$ npm run dev-server

Build the project

$ npm run build

How to add products or perform CRUD operations for Admin

  1. Navigate to your site to
    /signup
  2. Create an account for yourself
  3. Go to your firestore collection
    users collection
    and edit the account you've just created. Change the role from
    USER
    to
    ADMIN
    .
  4. Reload or sigin again to see the changes.

Firebase Admin to be integrated soon

Features

  • Admin CRUD operations
  • Firebase authentication
  • Firebase auth provider authentication
  • Account creation and edit

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.