Selling app
React seller is a platform where you can register products and sell them in a web application. It can be implemented in a store/shopping or another business that registers their products to show them to their customers.
Pre-requisites
Install API
DB installation
- connect to mongodb
- use reactseller
- create mongo user ‘db.createUser({ user: “reactseller”, pwd: “password”, roles: [ “readWrite”, “dbAdmin” ] })’
Run API
- git clone https://github.com/kapit4n/react-seller.git
- cd react-seller/server
- npm install
- node .
Install client
- git clone https://github.com/kapit4n/react-seller.git
- cd react-seller/client
- npm install
- npm start
Run Client Unit tests
- go to client folder
- ./node_modules/karma/bin/karma start
Development tasks
https://github.com/kapit4n/react-seller/projects/1
Util Commands
Create new component
- yo react-webpack:component product/productList