Commit Graph
18 Commits
Author SHA1 Message Date
Stephan f2e18e1656 Fix the error where the code doesn't compile
TypeScript is not used for browser development here, hence it does not know the type XMLHttpRequest (used by SuperAgent)
This is not an ideal solution
2021-11-09 15:40:38 +01:00
Stephan 9a57610362 Merge pull request #10 from detleph/dev
Merge dev branch into main
2021-10-19 07:53:34 +02:00
Stephan d62ae153b3 Merge pull request #9 from detleph/feature-test
Added tests for the event endpoints
2021-10-19 07:51:10 +02:00
Stefan-5422 8d50c44b7e Added tests for the event endpoints
Also installed chai, chai http & mocha
2021-10-18 13:14:13 +02:00
Stefan-5422 a966bfffd9 Added Event Endpoints; Dotenv; npm Scripts
+ GET    /events/
+ POST /events/
2021-10-17 02:30:01 +02:00
Stephan 4b0615ac27 Merge pull request #6 from detleph/create-pull-request/patch
Reformat files using prettier
2021-10-15 16:10:45 +02:00
stephan418 c54d9492c8 [create-pull-request] push formatted files 2021-10-15 13:36:56 +00:00
Stephan d74094970e Create .prettierignore 2021-10-15 15:36:22 +02:00
Stephan f1e8ea6671 Add action for format files 2021-10-15 15:28:37 +02:00
Stephan 4d37472726 Create workflow to check formatting
The workflow checks whether all the files are formatted correctly (.prettierrc)
2021-10-15 11:40:39 +02:00
Stephan ee81acea24 Add name to events in the prisma schema 2021-10-15 11:08:42 +02:00
Stephan 5e9fb04632 Add .prettierrc file
Should be used in all environments for consistency
2021-10-14 14:44:53 +02:00
Stephan a46c10018d Update the main Prisma schema
- Added two distinct IDs (A private, serial PK and a public, UUIDv4-based, API ID)
- Added default values
- Applied some basic formatting (Field names, ...)
2021-10-14 13:43:06 +02:00
Stephan dfcbe130ee Remove migrations
Migrations should not be in the repository
2021-10-11 13:27:38 +02:00
Stephan 62cc1cc122 Ignore Prisma migrations
Prisma migration files should not be pushed
2021-10-11 13:26:59 +02:00
Stefan a934017d87 boilerplate 2021-10-11 12:06:02 +02:00
Stefan 01f5521433 boilerplate part1 2021-10-11 09:32:42 +02:00
Stefan af9e7f3eec Initial commit 2021-10-11 09:19:55 +02:00