Catwalk is the re-imagined product detail page of an e-commerce web application, comprised of four main modules.
-
Guides customer through selecting a specific style and size and adding it to their cart
-
Tech Lead: Kevin Goble
Key Features
- Image gallery
- Product information
- Style selector
- Add to cart
- Allows customer to view and submit rating and reviews for the selected product
- Tech Lead: Adam Klingbaum
Key Features
- Write new review
- Reviews list
- Sorting
- Rating breakdown
- Product breakdown by key characteristic
- Allows customer to view, ask and answer questions for the selected product
- Tech Lead: Takahiro Hirakawa
Key Features
- View questions
- Search for a question
- Ask a question
- Answer a question
- Node.js
- Npm
- GitHub personal access token (
read:org
,user
) - Google Cloud Storage bucket
- Clone the repository and change into project directory
git clone https://github.com/labbit-fec/catwalk.git
cd catwalk
- Install package dependencies
npm install
- Create a copy of
server/config.example.js
and rename itserver/config.js
cp server/config.example.js server/config.js
- Populate your GitHub personal access token in
server/config.js
to enable authentication for the back-end API
module.exports.TOKEN = 'Insert GitHub Token here';
- Create a copy of
server/gc/gc-config.example.json
and rename itserver/gc/gc-config.json
cp server/gc/gc-config.example.json server/gc/gc-config.json
- Populate your Google Cloud Storage bucket configuration details in
server/gc/gc-config.json
{
"type": "FILL_ME_IN",
"project_id": "FILL_ME_IN",
"private_key_id": "FILL_ME_IN",
"private_key": "FILL_ME_IN",
"client_email": "FILL_ME_IN",
"client_id": "FILL_ME_IN",
"auth_uri": "FILL_ME_IN",
"token_uri": "FILL_ME_IN",
"auth_provider_x509_cert_url": "FILL_ME_IN",
"client_x509_cert_url": "FILL_ME_IN"
}
- Transpile and bundle React source code
# Production mode
npm run build
# Development mode (watch enabled)
npm run react:dev
- Start Express server
npm start
# Or, with nodemon for automatic restart
npm run server:dev
- Navigate to app server in your browser
Base url will show a default product
localhost:3000
- React
- Node.js
- Express.js
- Axios
- Multer
- Google Cloud Storage
- Jest
- React Testing Library
- Mock Service Worker
The hard-working dev team at labbit
Made with contrib.rocks.
Distributed under the MIT License. See LICENSE.txt for more information.