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
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
A step by step series of examples that tell you how to get a development env running.
$ git clone https://github.com/aahmad4/Sneaker-Place
Use the package manager npm or yarn to install the required packages.
$ npm install
or
$ yarn install
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
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 =
- Node.js - JavaScript runtime engine
- Express - Back-end web application framework
- MongoDB - Database
- Passport - Unobtrusive authentication for Node.js
- Ejs - Embedded JavaScript templates
- The Sneaker Database API - Helpful third-party API for latest sneaker releases
- Stripe - Online payment service
- Heroku - Online cloud platform
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.