Skip to content

visand is an e-commerce API which allows users to search, add items to their shopping cart, create order and checkout successfully.

License

Notifications You must be signed in to change notification settings

chukwuemekachm/visand

Repository files navigation

visand

License: MIT

Build Status

visand is an e-commerce API for an online T-Shirt shop which allows users to search, add items to their shopping cart, create order and pay for their orders successfully.

Getting Started

To setup visand, the following should be installed on your machine.

You also need to setup

If you don't have these already, click on any of them to install it on your local machine.

Installation

If you have all the prerequisites you can use the steps below to setup visand locally.

Clone visand
  • Open your terminal and cd to the directory where you will like to download visand, then run
git clone https://github.com/chukwuemekachm/visand.git
  • Change to the visand directory
cd visand
Setup database

This section assumes your local MySQL installation has a root user without password

  • Run the command below to create a database
npm run create:db
  • Run the command below to to populate the database
npm run migrate:db
Create and update the env variables
  • Run the command below to create a .env file from the sample provided
touch .env
cp .env.sample .env
  • Now update the environmental variables with the variables you want to use for your visand installation.
*Note* Ensure that you've created all the required accounts for ths sandboxes above such as Paypal, SendGrid and Facebook.
Update .env with the sandbox keys
Install Dependencies
  • Run the command below to install node dependencies
npm install

Usage

  • To start up your newly installed visand run
npm run start

Docs

Built With

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

visand is an e-commerce API which allows users to search, add items to their shopping cart, create order and checkout successfully.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published