Skip to content

takeshape/takeshape-starter-portfolio-gatsbyjs

Repository files navigation

TakeShape

Shape Portfolio — A TakeShape Sample Project Build With Gatsby.js

This is a sample project to get you started building a static website with TakeShape (TS) and Gatsby.js. You can see the sample project in action here: https://shape-portfolio.takeshapesampleproject.com/

Quickstart

Deploy To TakeShape

  1. Use the "Deploy to TakeShape" button to create the project in TakeShape.
  2. Set up and run the client application
    1. Create a new API key in TakeShape and name is "Gatsby". Copy the API key into your clipboard
    2. git clone https://github.com/takeshape/takeshape-samples takeshape-samples && cd takeshape-samples/shape-portfolio-gatsbyjs
    3. Make a .env file that contains the following
    TAKESHAPE_PROJECT=<TAKESHAPE-PROJECT-ID-FROM-URL>
    TAKESHAPE_TOKEN=<TAKESHAPE-API-KEY-YOU-COPIED>
    
    1. npm install - This will install all dependencies
    2. npm start - Start the development server. It runs on http://localhost:8000 by default
  3. Have fun playing around with the sample site!
    • Change some markup a template file and the site will regenerate automatically
    • Try adding a new field to an existing content type then add it to the corresponding GraphQL query and template

Deploy

Check our walkthrough for instructions on how to deploy this Gatsby site to Netlify and trigger builds with TakeShape's webhooks.

GraphQL tips

If you're using JetBrains we recommend using the JS GraphQL plugin. This plugin allows for real time validation of your queries against the schema you define in TS though modeling

Reach out

If we can make your life easier we want to hear from you at [email protected]

Learning Gatsby

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published