forked from stevensblueprint/backend_challenge_spring_2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
48 lines (36 loc) · 1.11 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
const express = require("express");
const app = express();
app.get("/api/volunteers", (req, res) => {
res.send("Implement");
});
app.post("/api/volunteers", (req, res) => {
res.send("Implement");
});
app.get("/api/volunteers/:volunteerId", (req, res) => {
res.send("Implement");
});
app.put("/api/volunteers/:volunteerId", (req, res) => {
res.send("Implement");
});
app.delete("/api/volunteers/:volunteerId", (req, res) => {
res.send("Implement");
});
app.get("/api/volunteers/:volunteerId/skills", (req, res) => {
res.send("Implement");
});
app.post("/api/volunteers/:volunteerId/skills", (req, res) => {
res.send("Implement");
});
app.delete("/api/volunteers/:volunteerId/skills/:skillId", (req, res) => {
res.send("Implement");
});
app.get("/api/volunteers/:volunteerId/events", (req, res) => {
res.send("Implement");
});
app.post("/api/events/{eventId}/volunteers/:volunteerId", (req, res) => {
res.send("Implement");
});
app.delete("/api/events/{eventId}/volunteers/:volunteerId", (req, res) => {
res.send("Implement");
});
app.listen(3000, () => console.log("Server is running on port 3000"));