{"repo":"abecms/shopify-app-starter","free":true,"listed":false,"github":"https://github.com/abecms/shopify-app-starter","clone":"git clone https://github.com/abecms/shopify-app-starter.git","description":"A starter based on shopify-app-node including CRON, Mail, Database, Shopify API (REST + GraphQL)","language":"JavaScript","stars":18,"topics":["shopify","shopify-app","shopify-polaris","shopify-embedded-applications","starter-project"],"license":"MIT","category":"ecommerce","readme_excerpt":"Introduction This starter is based on shopify-app-cli Using the Shopify-App-CLI The technos used are : - Node - Next.JS - Koa - React - Polaris (Shopify) Features - Create a Shopify app - Create a Shopify custom app (for one customer) - Create a Shopify Private app (it interacts with Shopify from outside of Shopify) - CRON functions - Mail functions - Shopify API (REST + GraphQL) including pagination for REST and GraphQL + Bulk functions - DynamoDB functions to persist store settings + data Installation Clone the starter then npm i Develop start the server PORT=8081 npm run dev Then open a tunnel with ngrok : ngrok http 8081 --subdomain=livingcolor Build and deploy Build the nextJS files npm run build Create the public or custom app on the partner shopify website Install on an ECS server (AWS) - Choose an ECS server on AWS - once installed, get connect (with the .pem key given by AWS) - Install Node https://github.com/nodesource/distributions/blob/master/README.md - Install n to manage versions of node and npm - install the version you want n 12 - Install pm2 npm i -g pm2 - Launch pm2 on server boot : sudo pm2 startup - Install a logrotate : pm2 install pm2-logrotate - Create a key ssh-keygen then paste this key in the github project's settings (deploy keys) and be sure to have this type of url : git@github.com:{user}/{repo}.git - Install nginx - For nginx to work as a Reverse proxy on NodeJS + Koa, your nginx config must contain : proxy set header X-Forwarded-Proto $scheme; ","default_branch":null,"files":null,"tree":[],"storefront":"/r/abecms","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/abecms/shopify-app-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}