Skip to content

homeland-market/main-carousel

Repository files navigation

Project Name - Home.com Main Image and Carousel

Project description

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

This service mimics the main product carousel on the wayfair website. https://www.wayfair.com/outdoor/pdp/design-toscano-celestial-harmony-sun-moon-wall-decor-txg1060.html. ## Related Projects lists other services from the same website.

Requirements

  • Node 14.4.0
  • "axios": "^0.19.2",
  • "express": "^4.17.1",
  • "mongoose": "^5.9.28",
  • "mongo": "4.2.8",
  • "react": "^16.13.1",
  • "react-dev": "0.0.1",
  • "react-dom": "^16.13.1",
  • "styled-components": "^5.1.1"

Step 1: Install Dependencies

From within the root directory:

npm install --production

Step 2: Install MongoDB

Follow the instructions for your set up to install the community version, at least version 4.2 at https://www.mongodb.com/try The database name is fec.

If you are setting up on an Ubuntu, use this guide: https://docs.mongodb.com/v4.2/tutorial/install-mongodb-on-ubuntu/

Seed the Database

From within the root directory: npm run seed

Once finished, ctrl-c should return control to the terminal If you run into any problems, the seed file is database/seed.js.

Build the webpack bundle

From within the root directory:

npm run build

Start the Server

From within the root directory:

npm start

Current port is set to 5001. You can change this from within server/server.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published