Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/backend #8

Merged
merged 10 commits into from
Oct 22, 2023
Merged

Feat/backend #8

merged 10 commits into from
Oct 22, 2023

Conversation

usatie
Copy link
Owner

@usatie usatie commented Oct 22, 2023

#3 を参考にbackendだけをまずは追加しました。
現状、backendにアクセスできるのはnginxコンテナだけとなっています。

コマンド

nest new backend

デバッグ方法

$ docker-compose up

# nginx経由でbackendにアクセスできる
$ curl http://localhost:4242/api
Hello from API

# 直接backendへのアクセスはできない
$ curl http://localhost:3000/api
curl: (7) Failed to connect to localhost port 3000 after 5 ms: Couldn't connect to server

@usatie usatie merged commit 80ec752 into main Oct 22, 2023
1 check passed
@usatie usatie deleted the feat/backend branch October 22, 2023 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant