Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.4 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.4 KB

Adidas Ecom Platform for Developers - Backend


What is it? 🧐

This is the backend part of full e-commerce web app. The main purpose is to help developers start fast when building their own e-commerce web App.


Stack Used

I used the following technologies:

  1. Strapi CMS
  2. MongoDB Atlas as Database

Stack Info

  1. The Strapi CMS contains the following models or collection types
    1. Categories
    2. Favorites
    3. Orders
    4. Products
    5. Reviews
    6. Subscriptions
    7. Users
    8. Variants

Run the CMS

  1. Create and add in your .env the below keys
DATABASE_URI='YOUR MONGODB ATLAS DATABASE URL'
DATABASE_NAME='YOUR DATABSE NAME'
SENDGRID_API_KEY='YOUR SENDGRID API KEY' (To send email after a product has been ordered)
STRIPE_SK='YOUR STRIPE SECRETE KEY'
ALGOLIA_APPLICATION_ID='YOUR ALGOLIA APP ID'
ALGOLIA_ADMIN_API_KEY='YOUR ALGOLIA ADMIN API KEY'
AWS_ACCESS_KEY_ID='YOUR AWS ACCESS KEY'
AWS_ACCESS_SECRET='YOUR AWS ACCESS SECRET'
AWS_REGION='YOUR AWS REGION'
AWS_BUCKET_NAME='YOUR AWS BUCKET NAME' (For image upload)
  1. Run the server
- npm install
- npm run develop or strapi develop (if you have the strapi cli)
  1. Open your browser and go to http://localhost:1337 to see the result.

  2. YOU WILL NEED TO UPLOAD YOUR IMAGES BEFORE RUNNING THE FRONTEND (!!IMPORTANT)