Amazon-style checkout microservice that generates, persists, and displays product data through a REST API. Developed using the MERN stack and styled-components for the front-end styling.
- Photos - Alek O. (Myself)
- Description Amos N.
- Product features - Justin R.
- Customer questions - Justin R.
- Reviews - Barsha S.
- Navbar - Justin R.
- Footer - Alek O. (Myself)
An nvmrc
file is included if using nvm.
- Node 6.13.0
From within the root directory:
npm install -g webpack
npm install
- MongoDb Community Edition - Download
Run database seeding script to generate 1000 product ids (MongoDb must be running)
npm run seed
Build bundle
npm run build:dev
Start server
npm run start:dev
Run API and Database seeding tests
npm run test
Run React tests
npm run test:react
Run all of the tests above
npm run test:all