Add "get all" endpoints

This commit is contained in:
Stone_Red
2022-05-04 11:08:50 +02:00
parent 39d6157a3c
commit 1b162b4f3c
9 changed files with 39 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ app.use("/pizza", pizzasRoutes);
app.use("/restaurant", restaurantsRoutes);
async function main() {
app.get("/", (req, res) => {
app.get("/", (_req, res) => {
res.send("Hello World!");
});