Skip to content

Commit 1e53e9f

Browse files
committed
Update
1 parent f85b5c1 commit 1e53e9f

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

development.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,15 @@ docker compose watch
1010

1111
* Now you can open your browser and interact with these URLs:
1212

13-
Frontend, built with Docker, with routes handled based on the path: http://localhost:5173
13+
Frontend, built with Docker, with routes handled based on the path: <http://localhost:5173>
1414

15-
Backend, JSON based web API based on OpenAPI: http://localhost:8000
15+
Backend, JSON based web API based on OpenAPI: <http://localhost:8000>
1616

17-
Automatic interactive documentation with Swagger UI (from the OpenAPI backend): http://localhost:8000/docs
17+
Automatic interactive documentation with Swagger UI (from the OpenAPI backend): <http://localhost:8000/docs>
1818

19-
Adminer, database web administration: http://localhost:8080
19+
Adminer, database web administration: <http://localhost:8080>
2020

21-
Traefik UI, to see how the routes are being handled by the proxy: http://localhost:8090
22-
23-
## Mailcatcher
24-
25-
Mailcatcher is a simple SMTP server that catches all emails sent by the backend during local development. Instead of sending real emails, they are captured and displayed in a web interface.
26-
27-
This is useful for:
28-
29-
- Testing email functionality during development
30-
- Verifying email content and formatting
31-
- Debugging email-related functionality without sending real emails
32-
33-
The backend is automatically configured to use Mailcatcher when running with Docker Compose locally (SMTP on port 1025). All captured emails can be viewed at http://localhost:1080.
21+
Traefik UI, to see how the routes are being handled by the proxy: <http://localhost:8090>
3422

3523
**Note**: The first time you start your stack, it might take a minute for it to be ready. While the backend waits for the database to be ready and configures everything. You can check the logs to monitor it.
3624

@@ -46,6 +34,18 @@ To check the logs of a specific service, add the name of the service, e.g.:
4634
docker compose logs backend
4735
```
4836

37+
## Mailcatcher
38+
39+
Mailcatcher is a simple SMTP server that catches all emails sent by the backend during local development. Instead of sending real emails, they are captured and displayed in a web interface.
40+
41+
This is useful for:
42+
43+
* Testing email functionality during development
44+
* Verifying email content and formatting
45+
* Debugging email-related functionality without sending real emails
46+
47+
The backend is automatically configured to use Mailcatcher when running with Docker Compose locally (SMTP on port 1025). All captured emails can be viewed at <http://localhost:1080>.
48+
4949
## Local Development
5050

5151
The Docker Compose files are configured so that each of the services is available in a different port in `localhost`.
@@ -186,34 +186,34 @@ The production or staging URLs would use these same paths, but with your own dom
186186

187187
Development URLs, for local development.
188188

189-
Frontend: http://localhost:5173
189+
Frontend: <http://localhost:5173>
190190

191-
Backend: http://localhost:8000
191+
Backend: <http://localhost:8000>
192192

193-
Automatic Interactive Docs (Swagger UI): http://localhost:8000/docs
193+
Automatic Interactive Docs (Swagger UI): <http://localhost:8000/docs>
194194

195-
Automatic Alternative Docs (ReDoc): http://localhost:8000/redoc
195+
Automatic Alternative Docs (ReDoc): <http://localhost:8000/redoc>
196196

197-
Adminer: http://localhost:8080
197+
Adminer: <http://localhost:8080>
198198

199-
Traefik UI: http://localhost:8090
199+
Traefik UI: <http://localhost:8090>
200200

201-
MailCatcher: http://localhost:1080
201+
MailCatcher: <http://localhost:1080>
202202

203203
### Development URLs with `localhost.tiangolo.com` Configured
204204

205205
Development URLs, for local development.
206206

207-
Frontend: http://dashboard.localhost.tiangolo.com
207+
Frontend: <http://dashboard.localhost.tiangolo.com>
208208

209-
Backend: http://api.localhost.tiangolo.com
209+
Backend: <http://api.localhost.tiangolo.com>
210210

211-
Automatic Interactive Docs (Swagger UI): http://api.localhost.tiangolo.com/docs
211+
Automatic Interactive Docs (Swagger UI): <http://api.localhost.tiangolo.com/docs>
212212

213-
Automatic Alternative Docs (ReDoc): http://api.localhost.tiangolo.com/redoc
213+
Automatic Alternative Docs (ReDoc): <http://api.localhost.tiangolo.com/redoc>
214214

215-
Adminer: http://localhost.tiangolo.com:8080
215+
Adminer: <http://localhost.tiangolo.com:8080>
216216

217-
Traefik UI: http://localhost.tiangolo.com:8090
217+
Traefik UI: <http://localhost.tiangolo.com:8090>
218218

219-
MailCatcher: http://localhost.tiangolo.com:1080
219+
MailCatcher: <http://localhost.tiangolo.com:1080>

0 commit comments

Comments
 (0)