Skip to content

This application is used for a single or multi-vendor e-commerce applications. Backend is done using Django Python with ReactJS as frontend.

License

Notifications You must be signed in to change notification settings

devxchangeio-blog/commerce-fm

 
 

Repository files navigation

eCommerce System

React Implementation of E-Commerce: Single and Multi Vendor web app.

Table of contents

Pre-requisites

If you want to setup node and run the application in your host os.

  • Yarn >= v1 [we are using yarn as primary package manager.]
  • npm 5+ [We are using npm only for eslint-config-airbnb]

Running it locally

/**
    If you want to clone the repo using https use https://github.com/shakyasaijal/commerce-fm.git instead.
*/

Clone with SSH
$ git clone git@github.com:shakyasaijal/commerce-fm.git
$ cd commerce-fm

Pull the dependencies and start server.

$ yarn install
$ yarn run dev

Eslint and Prettier

For the default eslint config we are using:

  • eslint
  • prettier

For viewing the lint related issues, run the following command.

$ yarn eslint

For fixing the lint related issues run the following command:

$ yarn eslint:fix

For fixing the formatting related issues run the following command:

yarn prettier:fix

For fixing the both lint and prettier related issues run the following command:

$ yarn lint:fix

Errors

  • Checking errors: $ yarn lint
  • Error during commit: $ yarn lint:fix

[Note: Pre commit hook is installed so unless lint and prettier auto fix or a programmer themselves fixes formatting related issues, commit can't be made.]

About

This application is used for a single or multi-vendor e-commerce applications. Backend is done using Django Python with ReactJS as frontend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 32.7%
  • Python 27.1%
  • JavaScript 21.3%
  • CSS 18.8%
  • Other 0.1%