Skip to content

elva-labs/nextwipe

 
 

Repository files navigation

NextWipe

NextWipe is a platform to identify and list upcoming seasons and wipes for games.

Usage

Let's get cracking

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)
  1. 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
  2. functions/

    This is for your Lambda functions and it uses the core package as a local dependency.

  3. scripts/

    This is for any scripts that you can run on your SST app using the sst shell CLI and tsx. For example, you can run the example script using:

    npm run shell src/example.ts
  4. web/

    This is the React Router application which will be user facing.

Infrastructure

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.

About

A platform to identify and list new season for games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.0%
  • CSS 2.7%
  • JavaScript 2.0%
  • HTML 0.3%