An e-commerce product detail page. Implemented front end that looks like uniqlo webpage. Connected to Atelier API.
Run npm install
to get dependencies.
Run the development server with npm run client-dev
, and open browse to
http://localhost:3000
to see the rendered app!
Make sure to create a config.js
file in the root directory! It will need to
have your GitHub API key added. E.g. API: "<your key here>"
. Import this into
your component for use with axios :)
CSS files should go in client/dist
, and all the front-end javascript
edits should be made in client/src
.
We are using jest
and the React testing library. You can contribute tests
by placing <your test name>.test.js
inside client/src/components/tests
.
Run tests using npm test
Some links for the testing technology:
The AirBnB style guide has been installed. You can run the linter against
the whole project by running npm run lint
(this will lint everyone's work,
and may generate more output than you can action).
You can also lint an individual file using
npx eslint --ext .jsx client/src/<path to your file>
Questions and Answers: James Emerson