Skip to content

Commit d4057e8

Browse files
committed
feat: update .gitignore files to include compose.yaml for frontend directories
1 parent 6560a94 commit d4057e8

File tree

3 files changed

+134
-151
lines changed

3 files changed

+134
-151
lines changed
Lines changed: 130 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -1,203 +1,184 @@
1-
### Get all classes
2-
GET http://localhost:5000/api/classes HTTP/1.1
1+
@host=http://localhost:5002
32

4-
###
5-
### Get class by ID
6-
GET http://localhost:5000/api/classes/{{classId}} HTTP/1.1
3+
### Get all classes
4+
GET {{host}}/api/classes
75

8-
###
9-
### Create a new class - Contenedores Docker - I
10-
POST http://localhost:5000/api/classes HTTP/1.1
11-
content-type: application/json
6+
### Session 1: Contenedores I
7+
POST {{host}}/api/classes
8+
Content-Type: application/json
129

1310
{
14-
"name": "Contenedores Docker - I",
15-
"instructor": "Gisela Torres",
16-
"startDate": "2025-10-21T18:00:00",
17-
"endDate": "2025-10-21T20:00:00",
18-
"duration": 2,
19-
"level": "Beginner"
11+
"name": "Contenedores I",
12+
"instructor": "Gisela Torres",
13+
"startDate": "2025-10-17T18:00:00Z",
14+
"endDate": "2025-10-17T20:00:00Z",
15+
"duration": 2,
16+
"level": "Beginner"
2017
}
2118

22-
###
23-
24-
### Create a new class - Contenedores Docker - II
25-
POST http://localhost:5000/api/classes HTTP/1.1
26-
content-type: application/json
19+
### Session 2: Contenedores II
20+
POST {{host}}/api/classes
21+
Content-Type: application/json
2722

2823
{
29-
"name": "Contenedores Docker - II",
30-
"instructor": "Gisela Torres",
31-
"startDate": "2025-10-23T18:00:00",
32-
"endDate": "2025-10-23T20:00:00",
33-
"duration": 2,
34-
"level": "Beginner"
24+
"name": "Contenedores II",
25+
"instructor": "Gisela Torres",
26+
"startDate": "2025-10-24T18:00:00Z",
27+
"endDate": "2025-10-24T20:00:00Z",
28+
"duration": 2,
29+
"level": "Beginner"
3530
}
3631

37-
###
38-
39-
### Create a new class - Contenedores Docker - III
40-
POST http://localhost:5000/api/classes HTTP/1.1
41-
content-type: application/json
32+
### Session 3: Contenedores III
33+
POST {{host}}/api/classes
34+
Content-Type: application/json
4235

4336
{
44-
"name": "Contenedores Docker - III",
45-
"instructor": "Gisela Torres",
46-
"startDate": "2025-11-04T18:00:00",
47-
"endDate": "2025-11-04T20:00:00",
48-
"duration": 2,
49-
"level": "Beginner"
37+
"name": "Contenedores III",
38+
"instructor": "Gisela Torres",
39+
"startDate": "2025-10-31T18:00:00Z",
40+
"endDate": "2025-10-31T20:00:00Z",
41+
"duration": 2,
42+
"level": "Beginner"
5043
}
5144

52-
###
53-
54-
### Create a new class - Contenedores Docker - IV
55-
POST http://localhost:5000/api/classes HTTP/1.1
56-
content-type: application/json
45+
### Session 4: Contenedores IV
46+
POST {{host}}/api/classes
47+
Content-Type: application/json
5748

5849
{
59-
"name": "Contenedores Docker - IV",
60-
"instructor": "Gisela Torres",
61-
"startDate": "2025-11-06T18:00:00",
62-
"endDate": "2025-11-06T20:00:00",
63-
"duration": 2,
64-
"level": "Beginner"
50+
"name": "Contenedores IV",
51+
"instructor": "Gisela Torres",
52+
"startDate": "2025-11-07T18:00:00Z",
53+
"endDate": "2025-11-07T20:00:00Z",
54+
"duration": 2,
55+
"level": "Beginner"
6556
}
6657

67-
###
68-
69-
### Create a new class - Contenedores Docker - V
70-
POST http://localhost:5000/api/classes HTTP/1.1
71-
content-type: application/json
58+
### Session 5: Contenedores V
59+
POST {{host}}/api/classes
60+
Content-Type: application/json
7261

7362
{
74-
"name": "Contenedores Docker - V",
75-
"instructor": "Gisela Torres",
76-
"startDate": "2025-11-11T18:00:00",
77-
"endDate": "2025-11-11T20:00:00",
78-
"duration": 2,
79-
"level": "Beginner"
63+
"name": "Contenedores V",
64+
"instructor": "Gisela Torres",
65+
"startDate": "2025-11-14T18:00:00Z",
66+
"endDate": "2025-11-14T20:00:00Z",
67+
"duration": 2,
68+
"level": "Beginner"
8069
}
8170

82-
###
83-
84-
### Create a new class - Contenedores Docker - VI
85-
POST http://localhost:5000/api/classes HTTP/1.1
86-
content-type: application/json
71+
### Session 6: Contenedores VI
72+
POST {{host}}/api/classes
73+
Content-Type: application/json
8774

8875
{
89-
"name": "Contenedores Docker - VI",
90-
"instructor": "Gisela Torres",
91-
"startDate": "2025-11-13T18:00:00",
92-
"endDate": "2025-11-13T20:00:00",
93-
"duration": 2,
94-
"level": "Beginner"
76+
"name": "Contenedores VI",
77+
"instructor": "Gisela Torres",
78+
"startDate": "2025-11-21T18:00:00Z",
79+
"endDate": "2025-11-21T20:00:00Z",
80+
"duration": 2,
81+
"level": "Beginner"
9582
}
9683

97-
###
98-
99-
### Create a new class - Azure Web Services I
100-
POST http://localhost:5000/api/classes HTTP/1.1
101-
content-type: application/json
84+
### Session 7: Azure Web Services I
85+
POST {{host}}/api/classes
86+
Content-Type: application/json
10287

10388
{
104-
"name": "Azure Web Services I",
105-
"instructor": "Gisela Torres",
106-
"startDate": "2026-02-03T18:00:00",
107-
"endDate": "2026-02-03T20:00:00",
108-
"duration": 2,
109-
"level": "Beginner"
89+
"name": "Azure Web Services I",
90+
"instructor": "Gisela Torres",
91+
"startDate": "2026-02-20T18:00:00Z",
92+
"endDate": "2026-02-20T20:00:00Z",
93+
"duration": 2,
94+
"level": "Beginner"
11095
}
11196

112-
###
113-
114-
### Create a new class - Azure Web Services II
115-
POST http://localhost:5000/api/classes HTTP/1.1
116-
content-type: application/json
97+
### Session 8: Azure Web Services II
98+
POST {{host}}/api/classes
99+
Content-Type: application/json
117100

118101
{
119-
"name": "Azure Web Services II",
120-
"instructor": "Gisela Torres",
121-
"startDate": "2026-02-05T18:00:00",
122-
"endDate": "2026-02-05T20:00:00",
123-
"duration": 2,
124-
"level": "Beginner"
102+
"name": "Azure Web Services II",
103+
"instructor": "Gisela Torres",
104+
"startDate": "2026-02-27T18:00:00Z",
105+
"endDate": "2026-02-27T20:00:00Z",
106+
"duration": 2,
107+
"level": "Beginner"
125108
}
126109

127-
###
128-
129-
### Create a new class - Proveedores de Kubernetes cloud - AKS
130-
POST http://localhost:5000/api/classes HTTP/1.1
131-
content-type: application/json
110+
### Session 9: Kubernetes AKS
111+
POST {{host}}/api/classes
112+
Content-Type: application/json
132113

133114
{
134-
"name": "Proveedores de Kubernetes cloud - AKS",
135-
"instructor": "Gisela Torres",
136-
"startDate": "2026-03-10T18:00:00",
137-
"endDate": "2026-03-10T20:00:00",
138-
"duration": 2,
139-
"level": "Beginner"
115+
"name": "Kubernetes AKS",
116+
"instructor": "Gisela Torres",
117+
"startDate": "2026-03-13T18:00:00Z",
118+
"endDate": "2026-03-13T20:00:00Z",
119+
"duration": 2,
120+
"level": "Beginner"
140121
}
141122

142-
###
143-
144-
### Create a new class - SESIÓN IA - I
145-
POST http://localhost:5000/api/classes HTTP/1.1
146-
content-type: application/json
123+
### Session 10: SESIÓN IA I
124+
POST {{host}}/api/classes
125+
Content-Type: application/json
147126

148127
{
149-
"name": "SESIÓN IA - I",
150-
"instructor": "Gisela Torres",
151-
"startDate": "2026-04-07T18:00:00",
152-
"endDate": "2026-04-07T20:00:00",
153-
"duration": 2,
154-
"level": "Beginner"
128+
"name": "SESIÓN IA I",
129+
"instructor": "Gisela Torres",
130+
"startDate": "2026-04-17T18:00:00Z",
131+
"endDate": "2026-04-17T20:00:00Z",
132+
"duration": 2,
133+
"level": "Beginner"
155134
}
156135

157-
###
158-
159-
### Create a new class - SESIÓN IA - II
160-
POST http://localhost:5000/api/classes HTTP/1.1
161-
content-type: application/json
136+
### Session 11: SESIÓN IA II
137+
POST {{host}}/api/classes
138+
Content-Type: application/json
162139

163140
{
164-
"name": "SESIÓN IA - II",
165-
"instructor": "Gisela Torres",
166-
"startDate": "2026-04-09T18:00:00",
167-
"endDate": "2026-04-09T20:00:00",
168-
"duration": 2,
169-
"level": "Beginner"
141+
"name": "SESIÓN IA II",
142+
"instructor": "Gisela Torres",
143+
"startDate": "2026-04-24T18:00:00Z",
144+
"endDate": "2026-04-24T20:00:00Z",
145+
"duration": 2,
146+
"level": "Beginner"
170147
}
171148

172-
###
173-
174-
### Create a new class - SESIÓN IA - III
175-
POST http://localhost:5000/api/classes HTTP/1.1
176-
content-type: application/json
149+
### Session 12: SESIÓN IA III
150+
# @name class
151+
POST {{host}}/api/classes
152+
Content-Type: application/json
177153

178154
{
179-
"name": "SESIÓN IA - III",
180-
"instructor": "Gisela Torres",
181-
"startDate": "2026-04-14T18:00:00",
182-
"endDate": "2026-04-14T20:00:00",
183-
"duration": 2,
184-
"level": "Beginner"
155+
"name": "SESIÓN IA III",
156+
"instructor": "Gisela Torres",
157+
"startDate": "2026-05-01T18:00:00Z",
158+
"endDate": "2026-05-01T20:00:00Z",
159+
"duration": 2,
160+
"level": "Beginner"
185161
}
186162

187-
###
188-
### Update a class (replace {{classId}} with actual ID)
189-
PUT http://localhost:5000/api/classes/{{classId}} HTTP/1.1
190-
content-type: application/json
163+
164+
### Get classes by from the previous posts
165+
@classId={{ class.response.body._id }}
166+
167+
### Get a class by ID (replace {id} with actual ID)
168+
GET {{host}}/api/classes/{{classId}}
169+
170+
### Update a class (replace {id} with actual ID)
171+
PUT {{host}}/api/classes/{{classId}}
172+
Content-Type: application/json
191173

192174
{
193-
"name": "Clase Actualizada",
194-
"instructor": "Gisela Torres",
195-
"startDate": "2025-11-25T09:00:00",
196-
"endDate": "2025-11-25T11:00:00",
197-
"duration": 2,
198-
"level": "Beginner"
175+
"name": "Updated Class Name",
176+
"instructor": "New Instructor",
177+
"startDate": "2025-10-17T18:00:00Z",
178+
"endDate": "2025-10-17T20:00:00Z",
179+
"duration": 2,
180+
"level": "Intermediate"
199181
}
200182

201-
###
202-
### Delete a class (replace {{classId}} with actual ID)
203-
DELETE http://localhost:5000/api/classes/{{classId}} HTTP/1.1
183+
### Delete a class (replace {id} with actual ID)
184+
DELETE {{host}}/api/classes/{{classId}}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Dockerfile
1+
Dockerfile
2+
compose.yaml
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Dockerfile
1+
Dockerfile
2+
compose.yml

0 commit comments

Comments
 (0)