GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MK825/Ecommerce-react

BranchesTags
Open more actions menu

Latest commit

 

History

190 Commits
190 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
functions
functions
 
 
public
public
 
 
src
src
 
 
static
static
 
 
test
test
 
 
.babelrc
.babelrc
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.json
.eslintrc.json
 
 
.firebaserc
.firebaserc
 
 
.gitignore
.gitignore
 
 
404.html
404.html
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
database.rules.json
database.rules.json
 
 
firebase.json
firebase.json
 
 
firestore-debug.log
firestore-debug.log
 
 
firestore.indexes.json
firestore.indexes.json
 
 
firestore.rules
firestore.rules
 
 
index.html
index.html
 
 
jest.config.json
jest.config.json
 
 
jsconfig.json
jsconfig.json
 
 
package.json
package.json
 
 
storage.rules
storage.rules
 
 
vite.config.js
vite.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

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

$ yarn install

2. Create a new firebase project

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

Create an .env file and add the following variables.

// SAMPLE CONFIG .env, you should put the actual config details found on your project settings

VITE_FIREBASE_API_KEY=AIzaKJgkjhSdfSgkjhdkKJdkjowf
VITE_FIREBASE_AUTH_DOMAIN=yourauthdomin.firebaseapp.com
VITE_FIREBASE_DB_URL=https://yourdburl.firebaseio.com
VITE_FIREBASE_PROJECT_ID=yourproject-id
VITE_FIREBASE_STORAGE_BUCKET=yourstoragebucket.appspot.com
VITE_FIREBASE_MSG_SENDER_ID=43597918523958
VITE_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

$ yarn dev

Build the project

$ yarn 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

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.