Commit Graph

30 Commits

Author SHA1 Message Date
cb3f06c27b fixed test conflicts with tsconfig and rollup errors 2023-08-03 18:22:45 -04:00
AtHeartEngineer
e917e1021f Merge branch 'main' into jest 2023-08-03 15:27:21 -04:00
Tanner Shaw
3e32ab82a6 Merge branch 'jest' of github.com:Discreetly/server into jest 2023-08-03 14:11:13 -05:00
Tanner Shaw
9657d52271 refactor(jest-tests) refactoring tests to make sure theres no false positives 2023-08-03 14:10:57 -05:00
0224256d5c Merge branch 'linting' 2023-08-03 14:56:01 -04:00
1877c9c123 feat(linting) fixed the linting setup and most of the linting errors 2023-08-03 14:50:49 -04:00
AtHeartEngineer
4dce775b19 Merge branch 'main' into jest 2023-08-03 12:02:13 -04:00
Tanner Shaw
942f3a8fee feature(jest) writing tests for express endpoints 2023-08-03 10:55:46 -05:00
226cfee1f9 fix PORT is necessary for heroku to host 2023-08-01 19:14:59 -04:00
66be9c97a3 Merge branch 'main' into create-messages 2023-07-31 14:39:45 -04:00
f0a18cdc62 chore(dependency) version bump of interfaces 2023-07-31 14:25:49 -04:00
ec1b81d826 chore(script) removed docker from npm run 2023-07-31 14:02:05 -04:00
Tanner Shaw
228a238bad refactor(express) /join route refactored
chore(prisma) changed room to roomId
2023-07-29 15:47:54 -05:00
5067925c5f feat(auth) added basic auth to admin endpoints 2023-07-28 14:13:38 -04:00
1a4398cb52 Merge conflicts for Prisma ORM Branch into main 2023-07-27 18:06:46 -04:00
Tanner
7e4f8d0fdb Express routes (#15)
* WIP - Starting to refactor routes for prisma

* feat(prisma) remove roomId from ClaimCodes model
refactor(prisma) seed claim codes using ClaimCodeManager
refactor(server) initialize ClaimCodeManager
feat(server) add claimcodes endpoint
refactor(server) claim code in /join endpoint

* chore(claimcodes) updated claim code system

* chore(schema): added rate limiting and epoch tracking

* feature(endpoints) /join /logclaimcodes
refactor(schema) Rooms Claimcodes many-to-many

---------

Co-authored-by: AtHeartEngineer <atheartengineer@gmail.com>
2023-07-27 17:14:26 -04:00
Tanner Shaw
dd116d712f WIP - refactored Rooms model. Added ClaimCodes and Messages models 2023-07-26 17:45:33 -05:00
AtHeartEngineer
9fd1fa5dbb chore(dependabot.yml): add Dependabot configuration file to enable automated dependency updates 2023-07-26 14:44:40 +00:00
Tanner Shaw
b454bbb03f Starting to migrate to prisma/mongodb 2023-07-24 17:17:15 -05:00
AtHeartEngineer
b91f5f72d6 works with npm run start/dev with a local redis, but not a docker redis 2023-07-14 15:19:09 -04:00
0b99519b60 rollup initial config 2023-07-12 14:51:32 -04:00
AtHeartEngineer
bc05457656 fixed npm run start tsconfig issues 2023-07-12 11:13:15 -04:00
AtHeartEngineer
18a2795c73 fixing types 2023-07-12 00:27:01 -04:00
5c79291130 claim codes are working 2023-07-11 17:36:37 -04:00
23a89e28ff added automatic test messages 2023-07-10 02:25:41 -04:00
Tanner Shaw
44be99fd3c .nvmrc added, added util to find room by a roomID 2023-07-09 12:39:12 -05:00
a273d4c8c8 updated room group IDs 2023-07-09 13:28:57 -04:00
Tanner Shaw
ce4f5699d6 claimcodes package update 2023-07-08 14:13:57 -05:00
84f19fe592 almost fixed 2023-07-08 14:40:29 -04:00
ec35f95abd init 2023-07-08 13:20:47 -04:00