18 | )
19 | }
20 |
--------------------------------------------------------------------------------
/project02_gatsby_snipcart/gatsby-config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Configure your Gatsby site with this file.
3 | *
4 | * See: https://www.gatsbyjs.com/docs/gatsby-config/
5 | */
6 |
7 | require("dotenv").config({path:".env"});
8 |
9 | module.exports = {
10 | /* Your site config here */
11 | plugins: [
12 | {
13 | resolve: 'gatsby-plugin-snipcartv3',
14 | options: {
15 | apiKey: process.env.SNIPCART_KEY
16 | }
17 | },
18 | {
19 | resolve: `gatsby-source-stripe`,
20 | options: {
21 | objects: ["Price"],
22 | secretKey: process.env.STRIPE_SECRET_KEY,
23 | downloadFiles: false,
24 | },
25 | },
26 | ],
27 | }
28 |
--------------------------------------------------------------------------------
/project03_gatsby_use_shopping_cart/README.md:
--------------------------------------------------------------------------------
1 | ### Shopping Cart State and Logic for Stripe in React
2 |
3 | [USE-SHOPPING-CART](https://useshoppingcart.com/)
4 |
5 | [USE-SHOPPING-CART EXAMPLES](https://github.com/dayhaysoos/use-shopping-cart/tree/master/examples)
6 |
7 | Project Video Tutorial
8 |
9 | [Buiding Project 03 Video in English on Facebook](https://www.facebook.com/zeeshanhanif/videos/10224984117135014/)
10 |
11 | [Building Project 03 Video in English on YouTube](https://www.youtube.com/watch?v=tYGlZI4OPIs)
12 |
13 | [Building Project 03 Video in Urdu on Facebook](https://www.facebook.com/zeeshanhanif/videos/10224993742615645/)
14 |
15 | [Building Project 03 Video in Urdu on YouTube](https://www.youtube.com/watch?v=gsfKhhB9_0M)
--------------------------------------------------------------------------------
/project05_2checkout/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project02_gatsby_snipcart/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project00_gatsby_stripe_checkout/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project03_gatsby_use_shopping_cart/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project01_gatsby_stripe_payment_intents/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project01_gatsby_stripe_payment_intents/functions/checkout/checkout.js:
--------------------------------------------------------------------------------
1 | // Docs on event and context https://www.netlify.com/docs/functions/#the-handler-method
2 | const stripe = require('stripe')(process.env.STRIPE_KEY);
3 |
4 | exports.handler = async event => {
5 | const paymentIntent = await stripe.paymentIntents.create({
6 | amount: 8000,
7 | currency: 'usd',
8 | // Verify your integration in this guide by including this parameter
9 | metadata: {customerId: "34343", orderId: "343434"},
10 | });
11 |
12 | try {
13 | return {
14 | statusCode: 200,
15 | body: JSON.stringify({ client_secret: paymentIntent.client_secret }),
16 | }
17 | } catch (error) {
18 | return { statusCode: 500, body: error.toString() }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/project04_gatsby_shopify_graphql/usingBuySDK/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project04_gatsby_shopify_graphql/usingGraphql/LICENSE:
--------------------------------------------------------------------------------
1 | The BSD Zero Clause License (0BSD)
2 |
3 | Copyright (c) 2020 Gatsby Inc.
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 | PERFORMANCE OF THIS SOFTWARE.
15 |
--------------------------------------------------------------------------------
/project00_gatsby_stripe_checkout/src/pages/checkout-session.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { loadStripe } from "@stripe/stripe-js"
3 |
4 | const stripePromise = loadStripe("pk_test_KLSysmXwiDBAfXUzFYLUxwnw")
5 |
6 | export default function CheckoutSession({location}) {
7 |
8 | const redirectToCheckout = async ()=> {
9 | const stripe = await stripePromise;
10 | const response = await fetch('/.netlify/functions/checkout');
11 | const data = await response.json();
12 |
13 | const result = await stripe.redirectToCheckout({
14 | sessionId: data.id
15 | })
16 | }
17 |
18 | return (
19 |
59 | )
60 | }
61 |
--------------------------------------------------------------------------------
/project00_gatsby_stripe_checkout/README.md:
--------------------------------------------------------------------------------
1 | ### Stripe Checkout
2 |
3 | There are two core ways to accept payments on Stripe:
4 |
5 | Stripe Checkout
6 | Payment Intents API
7 |
8 | Note: There is also a third way called Charges API. While Charges API are not deprecreated, but Stripe plans to focus product development on Payment Intents to make it the foundational Stripe API.
9 |
10 | In this project we will use the Stripe Checkout, the quickest way to build conversion-optimized payment forms, hosted on Stripe.
11 |
12 | Stripe Checkout is a prebuilt payment page that you can redirect your customer to for simple purchases and subscriptions. It provides many features, such as Apple Pay, Google Pay, internationalization, and form validation.
13 |
14 | [We built Checkout so you don’t have to](https://stripe.com/blog/checkout)
15 |
16 | [Checkout Docs](https://stripe.com/docs/payments/checkout)
17 |
18 | [Accept a payment](https://stripe.com/docs/payments/accept-a-payment?integration=elements)
19 |
20 | [Learn How to Accept Money on Jamstack Sites in 38 Minutes](https://www.netlify.com/blog/2020/04/13/learn-how-to-accept-money-on-jamstack-sites-in-38-minutes/)
21 |
22 | [Stripe Prebuilt Checkout](https://stripe.com/en-gb-us/payments/checkout)
23 |
24 | [Processing Payments with Stripe](https://www.gatsbyjs.com/docs/processing-payments-with-stripe/)
25 |
26 | [Gatsby E-commerce Tutorial](https://www.gatsbyjs.com/tutorial/ecommerce-tutorial/)
27 |
28 | [Five things I learned by building my own shopping cart and checkout with Gatsby and Stripe](https://dev.to/nhuynh1/five-things-i-learned-by-building-my-own-shopping-cart-and-checkout-with-gatsby-and-stripe-273k)
29 |
30 |
31 | ### Project Building Videos
32 |
33 | [Building Project 00 Video in English on Facebook](https://www.facebook.com/zeeshanhanif/videos/10224888744070747/)
34 |
35 | [Building Project 00 Video in English on YouTube](https://www.youtube.com/watch?v=cextuS_GgVI)
36 |
37 | [Building Project 00 Video in Urdu on Facebook](https://www.facebook.com/zeeshanhanif/videos/10224899533580478/)
38 |
39 | [Building Project 00 Video in Urdu on YouTube](https://www.youtube.com/watch?v=Jhg8URgZH-s)
40 |
41 |
--------------------------------------------------------------------------------
/project02_gatsby_snipcart/src/pages/products.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { loadStripe } from "@stripe/stripe-js"
3 | import { graphql, useStaticQuery } from "gatsby"
4 |
5 | const stripePromise = loadStripe("pk_test_KLSysmXwiDBAfXUzFYLUxwnw")
6 |
7 | export default function Products({location}) {
8 |
9 | const data = useStaticQuery(
10 | graphql`
11 | query ProductPrices {
12 | prices : allStripePrice {
13 | edges {
14 | node {
15 | id
16 | active
17 | currency
18 | unit_amount
19 | product {
20 | id
21 | name
22 | images
23 | description
24 | }
25 | }
26 | }
27 | }
28 | }
29 | `
30 | );
31 | console.log("Stripe Data = ", data);
32 |
33 | return (
34 |
10 |
11 | Kick off your project with this hello-world boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.
12 |
13 | _Have another more specific idea? You may want to check out our vibrant collection of [official and community-created starters](https://www.gatsbyjs.com/docs/gatsby-starters/)._
14 |
15 | ## 🚀 Quick start
16 |
17 | 1. **Create a Gatsby site.**
18 |
19 | Use the Gatsby CLI to create a new site, specifying the hello-world starter.
20 |
21 | ```shell
22 | # create a new Gatsby site using the hello-world starter
23 | gatsby new my-hello-world-starter https://github.com/gatsbyjs/gatsby-starter-hello-world
24 | ```
25 |
26 | 1. **Start developing.**
27 |
28 | Navigate into your new site’s directory and start it up.
29 |
30 | ```shell
31 | cd my-hello-world-starter/
32 | gatsby develop
33 | ```
34 |
35 | 1. **Open the source code and start editing!**
36 |
37 | Your site is now running at `http://localhost:8000`!
38 |
39 | _Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.com/tutorial/part-five/#introducing-graphiql)._
40 |
41 | Open the `my-hello-world-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time!
42 |
43 | ## 🧐 What's inside?
44 |
45 | A quick look at the top-level files and directories you'll see in a Gatsby project.
46 |
47 | .
48 | ├── node_modules
49 | ├── src
50 | ├── .gitignore
51 | ├── .prettierrc
52 | ├── gatsby-browser.js
53 | ├── gatsby-config.js
54 | ├── gatsby-node.js
55 | ├── gatsby-ssr.js
56 | ├── LICENSE
57 | ├── package-lock.json
58 | ├── package.json
59 | └── README.md
60 |
61 | 1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.
62 |
63 | 2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for “source code”.
64 |
65 | 3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for.
66 |
67 | 4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent.
68 |
69 | 5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.com/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser.
70 |
71 | 6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.com/docs/gatsby-config/) for more detail).
72 |
73 | 7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.com/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
74 |
75 | 8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.com/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering.
76 |
77 | 9. **`LICENSE`**: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.
78 |
79 | 10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).**
80 |
81 | 11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.
82 |
83 | 12. **`README.md`**: A text file containing useful reference information about your project.
84 |
85 | ## 🎓 Learning Gatsby
86 |
87 | Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.com/). Here are some places to start:
88 |
89 | - **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
90 |
91 | - **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.
92 |
93 | ## 💫 Deploy
94 |
95 | [](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-hello-world)
96 |
97 | [](https://vercel.com/import/project?template=https://github.com/gatsbyjs/gatsby-starter-hello-world)
98 |
99 |
100 |
--------------------------------------------------------------------------------
/project04_gatsby_shopify_graphql/usingGraphql/README.md:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 | Kick off your project with this hello-world boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.
12 |
13 | _Have another more specific idea? You may want to check out our vibrant collection of [official and community-created starters](https://www.gatsbyjs.com/docs/gatsby-starters/)._
14 |
15 | ## 🚀 Quick start
16 |
17 | 1. **Create a Gatsby site.**
18 |
19 | Use the Gatsby CLI to create a new site, specifying the hello-world starter.
20 |
21 | ```shell
22 | # create a new Gatsby site using the hello-world starter
23 | gatsby new my-hello-world-starter https://github.com/gatsbyjs/gatsby-starter-hello-world
24 | ```
25 |
26 | 1. **Start developing.**
27 |
28 | Navigate into your new site’s directory and start it up.
29 |
30 | ```shell
31 | cd my-hello-world-starter/
32 | gatsby develop
33 | ```
34 |
35 | 1. **Open the source code and start editing!**
36 |
37 | Your site is now running at `http://localhost:8000`!
38 |
39 | _Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.com/tutorial/part-five/#introducing-graphiql)._
40 |
41 | Open the `my-hello-world-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time!
42 |
43 | ## 🧐 What's inside?
44 |
45 | A quick look at the top-level files and directories you'll see in a Gatsby project.
46 |
47 | .
48 | ├── node_modules
49 | ├── src
50 | ├── .gitignore
51 | ├── .prettierrc
52 | ├── gatsby-browser.js
53 | ├── gatsby-config.js
54 | ├── gatsby-node.js
55 | ├── gatsby-ssr.js
56 | ├── LICENSE
57 | ├── package-lock.json
58 | ├── package.json
59 | └── README.md
60 |
61 | 1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.
62 |
63 | 2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for “source code”.
64 |
65 | 3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for.
66 |
67 | 4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent.
68 |
69 | 5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.com/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser.
70 |
71 | 6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.com/docs/gatsby-config/) for more detail).
72 |
73 | 7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.com/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
74 |
75 | 8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.com/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering.
76 |
77 | 9. **`LICENSE`**: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.
78 |
79 | 10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).**
80 |
81 | 11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.
82 |
83 | 12. **`README.md`**: A text file containing useful reference information about your project.
84 |
85 | ## 🎓 Learning Gatsby
86 |
87 | Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.com/). Here are some places to start:
88 |
89 | - **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
90 |
91 | - **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.
92 |
93 | ## 💫 Deploy
94 |
95 | [](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-hello-world)
96 |
97 | [](https://vercel.com/import/project?template=https://github.com/gatsbyjs/gatsby-starter-hello-world)
98 |
99 |
100 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Learn to Build Ecommerce Websites and Apps using JAMstack
2 |
3 | If you don't have web programming background or don't know React or Serverless we suggest you start from this [app development foundation bootcamp](https://panacloud.github.io/bootcamp-2020/) and [JAMstack Serverless Repo](https://github.com/panacloud-modern-global-apps/jamstack-serverless).
4 |
5 |
6 | [Intro Class in English on Facebook](https://www.facebook.com/zeeshanhanif/videos/10224856174736534/)
7 |
8 | [Intro Class in English on YouTube](https://www.youtube.com/watch?v=u3KOcuxvb5w)
9 |
10 | [Intro Class in Urdu on facebook](https://www.facebook.com/zeeshanhanif/videos/10224865871098937/)
11 |
12 | [Intro Class in Urdu on YouTube](https://www.youtube.com/watch?v=c11-JmxKJfc)
13 |
14 | [What is Ecommerce?](https://www.shopify.com/encyclopedia/what-is-ecommerce)
15 |
16 | [What is Ecommerce in 2020?](https://ecommerceguide.com/guides/what-is-ecommerce/)
17 |
18 | [Building an eCommerce Website](https://www.hostgator.com/blog/get-ecommerce-website-running/)
19 |
20 | [A Developer’s Guide to Headless E-Commerce 2020](https://snipcart.com/blog/headless-ecommerce-guide)
21 |
22 | [Is JAMstack Right for Your Ecommerce Business?](https://www.practicalecommerce.com/is-jamstack-right-for-your-ecommerce-business)
23 |
24 | [9 Best eCommerce Solutions for Jamstack Websites](https://bejamas.io/blog/jamstack-ecommerce/)
25 |
26 | ### Local Ecommerce
27 |
28 | [What do we know about Pakistan's ecommerce industry?](https://www.dawn.com/news/1549691)
29 |
30 | [Is Pakistan ready to go cashless?](https://www.dawn.com/news/1581827)
31 |
32 | [Digital banking grows 12pc, paper-based transactions down 10pc in FY20](https://profit.pakistantoday.com.pk/2020/10/11/digital-banking-grows-12pc-paper-based-transactions-down-10pc-in-fy20/)
33 |
34 | [No matter how obstructive the present be, ecommerce is the future](https://www.thenews.com.pk/print/711489-no-matter-how-obstructive-the-present-be-ecommerce-is-the-future)
35 |
36 | [First e-commerce index shows increase in digital payments and growing demand for online shopping](https://nation.com.pk/17-Apr-2020/first-e-commerce-index-shows-increase-in-digital-payments-and-growing-demand-for-online-shopping)
37 |
38 |
39 | ### Payment Gateways
40 |
41 | [The 10 Most Popular Online Payment Gateways for Your Website, Compared](https://www.dreamhost.com/blog/10-online-payment-gateways-compared/)
42 |
43 | [Top 10 Online Payment Methods for eCommerce Sites](https://www.hostgator.com/blog/online-payment-methods-ecommerce/)
44 |
45 | [Stripe vs Braintree vs 2Checkout Payment Gateways](https://medium.com/@devathon_/stripe-vs-braintree-vs-2checkout-payment-gateways-90ae36e68f04)
46 |
47 | [Accept Credit Cards Online (Sep 2020): The Best Way to Receive Payments in Any Country Using 2Checkout, Payoneer and InvoiceNinja](https://ecommerce-platforms.com/articles/accept-credit-cards-online)
48 |
49 | ### Local Payments Methods
50 |
51 | [Why local payment methods are essential for your e-commerce business](https://www.payvision.com/payment-insights/e-commerce/why-local-payment-methods-are-essential-for-ecommerce-business/)
52 |
53 | [Payment Gateways available in Pakistan](https://www.flux.pk/payment-gateways-available-in-pakistan/)
54 |
55 | [SBP allows pilot operation of e-commerce payment gateway](https://profit.pakistantoday.com.pk/2020/07/18/sbp-allow-pilot-operation-of-e-commerce-payment-gateway/)
56 |
57 | [‘No matter how obstructive the present be, ecommerce is the future’](https://www.thenews.com.pk/print/711489-no-matter-how-obstructive-the-present-be-ecommerce-is-the-future)
58 |
59 | [PayFast by Avanza Premier Payment Services (APPS)](https://apps.net.pk/)
60 |
61 | [PayFast Docs for Developers](https://apps.net.pk/docs/)
62 |
63 | [Karachi based Fintech Safepay Plans to Become “the Stripe of Pakistan” after Receiving Support from Y Combinator](https://www.crowdfundinsider.com/2020/09/166007-karachi-based-fintech-safepay-plans-to-become-the-stripe-of-pakistan-after-receiving-support-from-y-combinator/)
64 |
65 | [Shopify Payments in Pakistan](https://www.shopify.com/payment-gateways/pakistan)
66 |
67 | [JazzCash](https://sandbox.jazzcash.com.pk/sandbox)
68 |
69 | [JazzCash Documentation](https://payments.jazzcash.com.pk/SandboxDocumentation/)
70 |
71 | [JazzCash Developer Certer](https://developer.jazzcash.com.pk/)
72 |
73 | [JazzCash Payment Gateway](https://sandbox.jazzcash.com.pk/SandboxDocumentation/Content/documentation/Payment%20Gateway%20Integration%20Guide%20for%20Merchants-v4.2.pdf)
74 |
75 |
76 |
77 | ### Ecommerce Solutions
78 |
79 | [9 Best eCommerce Solutions for Jamstack Websites](https://bejamas.io/blog/jamstack-ecommerce/)
80 |
81 | [Headless Commerce: The Definitive Guide - 2020 Edition](https://www.coredna.com/blogs/headless-commerce)
82 |
83 | [Headless Shopify - 25 Amazing Examples](https://selleo.com/blog/headless-shopify-25-amazing-examples)
84 |
85 | [Shopify Plus: Headless Commerce](https://www.shopify.com/plus/solutions/headless-commerce)
86 |
87 |
88 | ### Delivery Services
89 |
90 | [List of Delivery Services in Pakistan](https://clarity.pk/delivery-services/list-of-delivery-services-in-pakistan/)
91 |
92 |
93 | ### Ecommerce Investments in Pakistan and Developing Countries
94 |
95 | [Retailo raises USD 2.3 million pre-seed for its B2B ecommerce marketplace in Saudi & Pakistan](https://kr-asia.com/retailo-raises-usd-2-3-million-pre-seed-for-its-b2b-ecommerce-marketplace-in-saudi-pakistan)
96 |
97 | [Miniso has acquired ToSharing for around $7 million to expand eCommerce operations in Pakistan](https://www.techjuice.pk/miniso-has-acquired-tosharing-for-around-7-million-to-expand-ecommerce-operations-in-pakistan/)
98 |
99 | [Pakistani e-commerce platform PriceOye announces six-figure funding in recent round](https://profit.pakistantoday.com.pk/2020/08/29/pakistani-e-commerce-platform-priceoye-secures-six-figure-funding-in-recent-round/)
100 |
101 | [Pakistani baby products ecommerce platform Baby Planet raises $250,000 led by High Output Ventures](https://www.menabytes.com/baby-planet-seed/)
102 |
103 | [Pakistan’s Tajir raises $1.8 million for its B2B ecommerce marketplace that helps mom-and-pop stores source inventory](https://www.menabytes.com/tajir-pakistan-1-8-million/)
104 |
105 | [Two Pakistanis on mission to revolutionize e-commerce industry](https://nation.com.pk/12-Jul-2020/two-pakistanis-on-mission-to-revolutionize-e-commerce-industry)
106 |
107 | [Want to become an ecommerce millionaire? These eight business models are up for grabs](https://dailytimes.com.pk/633731/want-to-become-an-ecommerce-millionaire-these-eight-business-models-are-up-for-grabs/)
108 |
109 | [US-based venture capital fund backs Pakistani e-commerce platform PriceOye.pk](https://www.dawn.com/news/1577370)
110 |
111 | [Dastgyr Pakistani Startup Raises Six-Figure Investment For Its B2B E-Commerce Marketplace](https://www.technologytimes.pk/2020/08/25/dastgyr-raises-six-figure-investment-for-its-b2b-ecommerce-marketplace/)
112 |
113 | [Sequoia India, Flourish Ventures lead $22.5m round in Bangladeshi B2B commerce startup](https://www.techinasia.com/sequoia-india-flourish-ventures-invest-bangladesh-b2b-commerce-startup-shopup)
114 |
115 | ### UI Design
116 |
117 | [Best Practices For E-Commerce UI Design](https://www.smashingmagazine.com/2020/11/best-practices-ecommerce-ui-design/)
118 |
119 |
--------------------------------------------------------------------------------