e-commerce application
- Users can see all items when entering the website.
- Items are displayed properly based on the selected department and category.
- Users can search items through search box.
- Support paging if we have too many items.
- Users can see item details by selecting a specific item.
- Users can add items to their shopping carts.
- Users can register/login using website custom forms, or social login libraries.
- Users can checkout with 3rd party payment gateways: Paypal or Stripe.
- Users will get confirmations over emails about their orders.
API is live at https://ecommerce-turing-core.herokuapp.com/api/v1
API documenntation: https://documenter.getpostman.com/view/5572663/S1ETQwDJ
In order to install and run this project locally, you would need to have the following installed on you local machine.
- Clone this repository
git clone git@github.com/CEOehis/ecommerce-shop.git
- Navigate to the project directory
cd path/to/ecommerce-shop
- Run
npm install
oryarn
to instal the projects dependencies - create a
.env
file and copy the contents of the.env.sample
file into it and supply the values for each variable
cp .evn.sample .env
- Create a MySQL database and run the
sql
file in the database directory to migrate the database
cat ./src/database/database.sql | mysql -u <dbuser> -D <databasename> -p
Shopping orders are paid for using a Stripe integration. In order to use the stripe endpoint send a POST
request to /api/v1/stripe
You will need to provide a stripeToken
. To get the token fill out the form at https://ecommerce-turing-core.herokuapp.com/stripe