Skip to content

Commit

Permalink
SSX Monorepo Chores (#17)
Browse files Browse the repository at this point in the history
* move changesets to devDependencies

* Remove example repos from yarn workspace

* removed .npmrc

* added readme for running examples

* add examples back

* added serverless

* Apply suggestions from code review

Co-authored-by: Juliano <[email protected]>

* add compatibility note

Co-authored-by: Juliano <[email protected]>
  • Loading branch information
skgbafa and Juliano1612 authored Nov 14, 2022
1 parent 1072382 commit dfc4fb8
Show file tree
Hide file tree
Showing 5 changed files with 2,926 additions and 9,823 deletions.
32 changes: 32 additions & 0 deletions examples/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SSX Examples
## Overview
This directory contains examples of how to use the various packages in the SSX Monorepo. The examples can be run standalone or together.

Frontend examples include
- `ssx-test-dapp`
- `ssx-test-react-dapp`

Backend examples include
- `ssx-test-express-api`
- `ssx-test-http-api`
- `ssx-test-serverless-dynamodb-api`


## Running the examples
To run the examples, you'll need to build the packages first. The best way to do that is in the root of the repo:
```sh
yarn ci
# OR
yarn && yarn build
```

Then, you can run ssx-test-dapp and ssx-test-express-api:
```sh
# From the root of the repo
yarn run-examples
# OR
yarn test-dapp start
yarn express-api start
```

The ssx-test-dapp is compatible with any example backend and is a good way to test them.
Loading

0 comments on commit dfc4fb8

Please sign in to comment.