Skip to content

aahmad4/Sneaker-Place

Repository files navigation

Sneaker Place

A custom online sneaker marketplace. I also used The Sneaker Database API to fetch a list of sneaker releases and show them on a designated page.

A link to an online demo version can be found here: sneakerplace.herokuapp.com

Summary

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Setup

A step by step series of examples that tell you how to get a development env running.

Clone

$ git clone https://github.com/aahmad4/Sneaker-Place

Installation

Use the package manager npm or yarn to install the required packages.

$ npm install

or

$ yarn install

Usage

For development purposes I would recommend this setting as it will run the app with nodemon constantly watching your server for new changes.

$ npm run dev

Implementation

In the root directory create a file named .env with the following enviornment variables. DATABASEURL is the MongoDB Uri. RAPIDAPIKEY is the API key used with The Sneaker Database API hosted on RapidAPI. Lastly, PRIVATEKEY is the private API key used for Stripe payments.

DATABASEURL =
RAPIDAPIKEY =
PRIVATEKEY =

Built With

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.