Skip to content
View baskethunt's full-sized avatar

Block or report baskethunt

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
baskethunt/README.md

Snipcart + Gatsby + DatoCMS example

This is a demo project to get you started with a static ecommerce site powered by Gatsby, Snipcart and DatoCMS.

It's a brutalist socks ecommerce site, that looks like this:

Socks ecommerce screenshot

You can see how it looks live on this demo installation.

All the details on how this works on the related blog post.

Deploy on DatoCMS

If you want to set up a live demo for yourself, just sign up for a free DatoCMS account and click this button:

Deploy with DatoCMS

Usage

To run this project locally, install the dependencies of this project:

npm install

Add an .env file containing the read-only API token of your DatoCMS site (set up with the demo button above):

echo 'DATO_API_TOKEN=abc123' >> .env

Then, to run this website in development mode (with live-reload):

npm run develop

To build the final, production ready static website:

npm run build

The final result will be saved in the public directory.

Further demo options

This project is also available as a demo on Gatsby Cloud. This will allow you to test the Gatsby preview capabilities in no time.

Popular repositories Loading

  1. basket basket Public

  2. baskethunt baskethunt Public

    Simple e-commerce for socks made with Gatsby, Snipcart and DatoCMS

    SCSS

  3. datocms-baskethunt datocms-baskethunt Public

    SCSS

  4. weesaal weesaal Public

    Playful and Colorful One-Page portfolio featuring Parallax effects and animations. Especially designers and/or photographers will love this theme! Built with MDX and Theme UI.

    JavaScript