Skip to content

eliotmess/ecom

Repository files navigation

About

It's a simple Progressive Web App for eCommerce purposes. Made with React.js with basic Node/Express backend and Firebase Realtime Database.
Open https://v-dreams.firebaseapp.com/ to view it in the browser.

Functionalities

It allows users to browse, filter, sort and search products. All products can be added to cart and ordered. Placed orders are stored in database and can be seen on /myaccount page. Coupon codes functionality is available. Example coupons are:

  • FREESHIP
  • 20PER

Installation

In order to install and run project execute npm i && npm start command in project directory.
To build production version execute npm run build. Make sure if workbox-cli ^4.3.0 is installed, if not install it globally with npm i -g workbox-cli.
Open http://localhost:3000 to view it in the browser.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder.
The build is minified and the filenames include the hashes.
Service worker is generated and attached so app could work offline.
App will be ready to be deployed!

npm run server

Launches Node server locally.
By default it's using http://localhost:8081.
Server will restart if you make edits.

This project was bootstrapped with Create React App.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published