Skip to content

This is repository create for Ecommerce site With Gatsby js

License

Notifications You must be signed in to change notification settings

sandbak/OneShopper

Repository files navigation

OneShopper

OneShopper

Kick off your Ecommerce Website with OneShopper project you can build you site with this, We have used Gatsby + Contenful and snipcart.

Live Demo: https://oneshopper.netlify.com

🚀 Quick start

  1. Setup this site.

    Use the Gatsby CLI to Clone this site.

    # Clone this Repositories
    gatsby new OneShopper https://github.com/Rohitguptab/OneShopper.git
  2. Setup Contentful Models

    Use contentful-cli to import the models from oneshopper.json

    contentful space --space-id <CONTENTFUL_SPACE_ID> import --content-file oneshopper.json
    

    Checkout my below blog how to Import and Export data from ContentFul

    https://rohitgupta.netlify.app/import-and-export-data-with-contentful-cli

  3. Setup your Own Configure Projects.

    Enter your own key

    ContentFul:

    • spaceId = Key
    • accessToken = Key

    snipcart:

    • snipcart = Key
  4. Start developing.

    Navigate into your new site’s directory and start it up.

    cd OneShopper
    npm install
    gatsby develop
  5. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    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.

    Open the OneShopper directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!

🎓 Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start:

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

💫 Deploy

Deploy to Netlify

About

This is repository create for Ecommerce site With Gatsby js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published