The project is an online platform that sells used products.
- ReactJs and React Router, for component construction, state control e routers
- Webpack 3+, to package the code
- Babel, to compile ES6
- eslint, code quality
- Jest / Enzyme, tests TDD
- Node.js >= v9
- Clone this repository https://github.com/hjdesigner/samcro-story
- Install dependencies: yarn install
- Run
yarn server:json
to upload the API server - Run
yarn test
tests once - Run
yarn start
to develop on http://localhost:3000 - Run
yarn build
for production build (files will be generated on dist directory) - Run
yarn test:watch
Run tests in watch mode - Run
yarn build:analyzer
Build project to production and open bundle analyzer on 8888 port