Coder Social home page Coder Social logo

th-master-prototype-desktop's Introduction

Prototype Strapi App

This is a prototype to demonstrate a Jamstack architecture with Strapi, Gatsby and Tailwind

Requirements

  • Node
  • Gatsby
  • Yarn
  • Docker

How to start

  1. make setup installs dependencies
  2. make backend starts Strapi. It's available at http://localhost:1337
  3. make db-load to load the current db dump
  4. make dev to start the development server
  5. Gastby's GraphQL Explorer runs at http://localhost:8000/___graphql and the page is available at http://localhost:8000/

Production environment

  1. make build-prod creates a production docker image of the page
  2. make serve-prod serves your page at localhost:80

FAQ

  • If you change anything in Strapi's Content Builder you need to restart the Gatsby development server.
  • If you change anything in the gatsby-node.js you need to restart the development server.
  • To stop the database run make stop in the root directory
  • Run make logs in the root directory to see Strapi's logs
  • Run make db-dump to create a new strapi db dump
  • Any error when running gatsby develop? Try gatsby clean

th-master-prototype-desktop's People

Contributors

thutter avatar

Watchers

 avatar

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.