/brush

WIP saatchiart easel_api alternative

Primary LanguageTypeScript

Brush 🖌️

An experiment in replacing the SaatchiArt Easel API.

Some different things I used:

  • Node 19.4.0
  • Express 4.8.2
  • Typescript
  • pnpm
  • Zod for API response validation instead of whitelisting
  • Use controller modules instead of just routes with closures
  • Use custom exceptions instead of returning { success: boolean } with everything
  • Tests with vitest

TODO:

  • try NestJS
  • instead of validating and including all artwork data in easel style, figure out the front-end needs, then validate and include properties we need for certain pages