Dukkan-Plus
- Users can see all items when entering the website.
- Items are displayed properly based on the selected 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
- Users can checkout with 3rd party payment gateways: Stripe.
In order to install and run this project locally, you would need to have the following installed on you local machine.
- Navigatet to the project directory
cd path/to/turin-backend
- 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/migrations/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