NextWipe is a platform to identify and list upcoming seasons and wipes for games.
Shit's easy to run. Just do bun install
and then bun sst dev
. That's it.
The AWS account used for this is elva-örebro-sandbox
.
Versioning:
- Node.js 22
- Bun 1.2 (or higher)
-
core/
This is for any shared code. It's defined as modules.
export module Games { export function get(gameId: string) { // logic to get the game return game; } }
That you can use across other packages using.
import { Games } from "@nextwipe/core/games"; Example.hello();
We also have Vitest configured for testing this package with the
sst shell
CLI.npm test
-
functions/
This is for your Lambda functions and it uses the
core
package as a local dependency. -
scripts/
This is for any scripts that you can run on your SST app using the
sst shell
CLI andtsx
. For example, you can run the example script using:npm run shell src/example.ts
-
web/
This is the React Router application which will be user facing.
The infra/
directory allows you to logically split the infrastructure of your app into separate files. This can be helpful as your app grows.
In the template, we have an api.ts
, and storage.ts
. These export the created resources. And are imported in the sst.config.ts
.
More information regarding the Monorepo can be found here.