Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
2a34960415 fix(api): stop generating prisma client during tests (#51794) 2023-10-06 17:44:27 +02:00
Oliver Eyton-Williams
5c8b94f236 test(api): setup mongo schema before running tests (#51686)
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>
2023-10-03 17:00:21 -05:00
Oliver Eyton-Williams
4cfd03224d fix(api): cleanup test dbs after use (#50466) 2023-05-24 15:16:31 +02:00
Niraj Nandish
999d8a6c03 feat(api): create account delete endpoint (#50304)
* feat(api): create account delete endpoint

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-18 17:01:21 +03:00
Oliver Eyton-Williams
a128dd8fcd chore(api): compile TS into /dist (#49812
* chore: compile TS into /dist

Having the output co-located with the source meant that the js would be
imported by default. Given that we don't recompile on source changes,
this means the server got 'stuck' at the point of compilation and would
only register changes on build.

Also, compiling to a dist directory should make it easier to build when
we want to deploy. That said, the motivation is mostly DX.

* fix: put schema.prisma in the default location
2023-03-28 19:42:20 +05:30