CodersCrew / coderscamp

Monorepo containing CodersCamp's internal application, its website, and all development resources created around them.
https://www.coderscamp.edu.pl/
GNU General Public License v3.0
6 stars 3 forks source link

feat(api): open-api specification as rest api documentation and contract testing tool #311 #225 #345

Closed MateuszNaKodach closed 3 years ago

MateuszNaKodach commented 3 years ago

Closes #311 Closes #225

All next API endpoints will require similar documentation and REST Controller tests.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

coderscamp-website – ./

🔍 Inspect: https://vercel.com/coderscamp/coderscamp-website/Ap72jLmMSYxUiBvJebSkanqb8rKK
✅ Preview: https://coderscamp-website-git-issue-311-presentation-b9fb56-coderscamp.vercel.app

coderscamp-storybook – ./

🔍 Inspect: https://vercel.com/coderscamp/coderscamp-storybook/BjVrtrvqGvZv2PAsqpvUAGdWDknL
✅ Preview: https://coderscamp-storybook-git-issue-311-presentati-65014e-coderscamp.vercel.app

coderscamp-docs – ./

🔍 Inspect: https://vercel.com/coderscamp/coderscamp-docs/EytYqavuPcXiCnCAaHiJbLgwZj3Q
✅ Preview: https://coderscamp-docs-git-issue-311-presentationcon-3ceb54-coderscamp.vercel.app

MateuszNaKodach commented 3 years ago
➤ YN0000: [@coderscamp/api]: Process started
➤ YN0000: [@coderscamp/api]: [Nest] 2790  - 09/13/2021, 12:15:21 PM     LOG [NestFactory] Starting Nest application...
➤ YN0000: [@coderscamp/api]: PASS src/module/write/shared/application/events-subscription/events-subscription.spec.ts (20.824 s)
➤ YN0000: [@coderscamp/api]: [Nest] 2790  - 09/13/2021, 12:15:35 PM     LOG [NestFactory] Starting Nest application...
➤ YN0000: [@coderscamp/api]: [Nest] 2790  - 09/13/2021, 12:15:36 PM   ERROR [NestApplication] Error: listen EADDRINUSE: address already in use :::4000
➤ YN0000: [@coderscamp/api]: [Nest] 2790  - 09/13/2021, 12:15:36 PM   ERROR [bootstrap] Error: listen EADDRINUSE: address already in use :::4000
➤ YN0000: [@coderscamp/api]:   ●  process.exit called with "1"
➤ YN0000: [@coderscamp/api]: 
➤ YN0000: [@coderscamp/api]:       40 |   } catch (ex) {
➤ YN0000: [@coderscamp/api]:       41 |     logger.error(ex);
➤ YN0000: [@coderscamp/api]:     > 42 |     process.exit(1);
➤ YN0000: [@coderscamp/api]:          |             ^
➤ YN0000: [@coderscamp/api]:       43 |   }
➤ YN0000: [@coderscamp/api]:       44 | }
➤ YN0000: [@coderscamp/api]:       45 |
➤ YN0000: [@coderscamp/api]: 
➤ YN0000: [@coderscamp/api]:       at bootstrap (src/main.ts:42:13)
➤ YN0000: [@coderscamp/api]:           at runMicrotasks (<anonymous>)
➤ YN0000: [@coderscamp/api]: Process exited (exit code 1), completed in 26s 892ms
➤ YN0000: [@coderscamp/ui]: Process started

@KonradSzwarc / @tomaszdworniczak / @PawelSzambelan / @pietruszka / @KrystianKjjk / @KlaraGajaszek / @kacper-cyra / @pietruszka do you have any idea how to fix it? Probably some tests run in parallel and use the same port, but I didn't have such issue with testing express.

MateuszNaKodach commented 3 years ago

Strange behaviour, will try step by step instead of many changes at once.