/fork-api-platform-website

Fork of "api-platform/website"

Primary LanguageJavaScriptMIT LicenseMIT

api-platform.com

This repository contains the source code and documentation powering api-platform.com.

Single Page Application built with React and powered by Gatsby.

Project structure

For an overview of the project structure, please refer to the Gatsby documentation.

Installation and usage

To run the installation script, you will need jq. Be sure to install them first and to have the binaries in your path.

# Checkout project

git clone https://github.com/api-platform/website.git

# Retrieve documentation

bin/retrieve-documentation

# Install dependencies

yarn install

# Run project locally (for development)

yarn gatsby develop
# Go to http://localhost:8000/

# Build the project (for production)

yarn gatsby build

# Test the built project locally

yarn gatsby serve
# Go to http://localhost:9000