Giter Site home page Giter Site logo

hackathon-next-gatsby-rad's Introduction

Open in Visual Studio Code

Gatsby / Next Research Hackathon

So far we have mainly use create-react-app to help us build react apps. create-react-app sets out some boiler plate code and give us a development server, and the rest is up to us. Both Gatsby and Next do more behind the scenes to help you make the best application you can, but they are subtly different. Gatsby is a "static site generator", while next does "server-side rendering". What do these mean? That's what you are going to find out.

Task

Build an app in either Gatsby or Next, decided by the code below:

if (roomNumber % 2 === 0) {
  console.log("You are doing gatsby");
} else {
  console.log("you are doing next");
}

Research what it is that it does well.

Your site should have...

  • Multiple pages
    • That you can navigate between
    • One of which fetches data from an api
    • One of which is interactive and stateful

You should research...

  • What makes your option different from Create React App
  • What use cases there are for your option

Result

At the end of the day you will pair up with another team that did the other option. Share the knowledge you've picked up and understand what the other team has learned.

Links

Here are some starters, but make sure to do your own research too!

Gatsby Links

gatsby docs gatsby quick start

Next Links

next getting started

API Links

Public APIs

Helpful Hints

  • Don't just jump straight into this, learn about your framework FIRST
  • You only have a day, so remember to scale your plan accordingly
  • We have deliberately not set up any starter code, as there are two possible setups
  • TDD can be helpful
  • remember the 15/15 rule - 15 mins discussing in your team, 15 mins searching online, and then ask for help

When Asking For Help

Please post all requests in the Help Dev channel, along with

  • Room Number
  • A description of the problem
  • Code / error message (where relevant)
  • What you've tried already

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.