CaptainHoke / film-lib

Test assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

film-lib

  • Using Goa to "generate docs faster" was a terrible mistake
  • OpenAPI 3 docs are at gen/http/openapi3.json
  • It barely works, it's ugly, but it was fun
    • You can add and get all actors at least duh

Launch Instructions

make all

TODO

  • Goa API for Actors + JWT Auth
  • API for Films
  • API for Querying
  • Auth Impl
  • Build commands adjustments
  • Logger setup
  • DB setup
    • pgx
  • Docker setup
  • Get rid of non-std-http frameworks; might break everything ye whatever
  • Make project structure less ugly
  • Fix linter errors
  • Make sure that the project is "eventually test-covered" (idk when maybe a day or two or three after deadline)
  • getAllFilms => getFilms + limit
  • Make auth less retarded
    • Store users in-memory for now
    • Users table later
  • Fix docs not working as intended, probably will need to regenerate the whole thing
  • Error handling sucks
  • No tests
  • Docker compose leaves dangling images

About

Test assignment


Languages

Language:Go 96.9%Language:Dockerfile 2.4%Language:Makefile 0.6%