Backend project for an ecommerce using Shopify Storefront API Graphql integration for syncing products
Tech Stack
- Express.js
- Typescript
- Mongoose
- @shopify/shopify-api
- graphql
Database: Mongodb Atlas Free Cluster hosted in AWS
- Enter the project folder
- Run
npm install
to run all the dependencies - Run
npm run start
to run the project in your localhost
- Enter the project folder
- Enter the command:
chmod +x build_pipeline
- That's it! So easy isn't it? :D
Note:(For requests the port mapped is 49160)
- Sync the products from the shopify store to the mongo DB, so you must use the shopify Storefront API (Graphql).
- PRODUCT endpoints:
-
GET ALL (Not paginated) http://localhost:3000/product
- CART endpoints:
Feel free to open postman and start sending http requests :)