sst / guide

Repo for guide.sst.dev
https://guide.sst.dev
MIT License
3.68k stars 444 forks source link
aws reactjs serverless sst

SST

Discord Twitter Seed Status


SST Guide

This repo for guide.sst.dev, the SST Guide. If you are looking for the SST repo, head over here.

SST.dev is built with SST and deployed with Seed.

About the Guide

The guide is a comprehensive open source tutorial for building and deploying full-stack apps using Serverless and React on AWS.

We are going to create a note taking app from scratch using React.js, AWS Lambda, API Gateway, DynamoDB, and Cognito.

Demo App

It is a single-page React app powered by a serverless CRUD API. We also cover how add user authentication and handle file uploads.

Project Goals

Getting Help

Source for the Demo App

Contributing

Read more about how you can contribute to the guide.

Running Locally

SST.dev is a Jekyll site. Follow these steps to install Jekyll.

Viewing Locally

To install, run the following in the root of the project.

$ pnpm install
$ bundle install

And to view locally.

$ bundle exec jekyll serve

You can now view the guide locally by visiting http://localhost:4000/.

You can also turn on live reloading and incremental builds while editing.

$ bundle exec jekyll serve --incremental --livereload

Generating the eBook

We use Pandoc to create the eBook. You can generate it locally by following these steps.

$ cd ~/Sites/sst.dev/etc/ebook
$ make start

This'll start a Docker instance. Inside the Docker run:

$ make pdf
$ make epub

The above are run automatically through Github Actions in this repo:

Deploying Locally

To deploy this site. Run:

$ npx sst deploy

Contributors

Thanks to these folks for their contributions to the content of SST.


Join our community Discord | YouTube | X.com | Contribute