Skip to content
A responsive Gatsby starter for structured Q&A Interviews
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
src
.gitignore
LICENSE.md
README.md
config.js
gatsby-browser.js
gatsby-config.js
gatsby-node.js
gatsby-ssr.js
package-lock.json
package.json

README.md

Smooper Interviews Starter

A responsive starter for structured Q&A interviews using JSON files & Gatsby.

Table of contents

Features

Performance Tests

View the advanced performance test at WebPageTest

Quick Start

Create a Gatsby site

Use the Gatsby CLI to create a new site, specifying the Lumen starter.

# Create a new Gatsby site using the  gatsby-starter-interviews
gatsby new interviews https://github.com/rmagon/gatsby-starter-interviews

Start Developing

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

cd interviews
gatsby develop

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.

To add more questions

  1. Open the data directory in your code editor of choice.
  2. Edit questions.json and add a new element.
  3. Save your changes.
  • Note: The question will only appear when we use the same questionId in one of the interviews

To add more interviews

  1. Open the data/interviews directory in your code editor of choice.
  2. Add another file, like the existing interview files eg: jean-jollet.json
  3. Save your changes.
  4. The interview will appear on your homepage at http://localhost:8000!

Deploy with Netlify

The project can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:

Deploy to Netlify

  1. After clicking that button, you’ll authenticate with GitHub and choose a repository name.
  2. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template.
  3. It will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete.

Folder Structure

└── data
    ├── images
    ├── interviews
    └── questions.json
└── src
    ├── components
    │   ├── footer
    │   ├── header
    │   ├── interview-grid
    │   ├── seo
    │   ├── share
    │   └── subscribe-form
    ├── images
    ├── pages
    └── templates
        ├── interview
        └── question

License

The MIT License (MIT)

Copyright (c) 2019 Rachit Magon

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.