Skip to content

Commit

Permalink
Deleted: ExampleController.ts, examples.ts, examples.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aquie00tt committed Oct 19, 2024
1 parent 76e1d5a commit 618b051
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 168 deletions.
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"semi": true,
"singleQuote": false,
"useTabs": true,
"printWidth": 60
"semi": true,
"singleQuote": false,
"useTabs": true,
"printWidth": 60
}
28 changes: 0 additions & 28 deletions src/controllers/ExampleController.ts

This file was deleted.

58 changes: 0 additions & 58 deletions src/database/models/ExampleModel.ts

This file was deleted.

44 changes: 0 additions & 44 deletions src/routes/examples.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/routes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from "express";
import configuration from "../utils/configuration";
import getHome from "./homes";
import { getExamples } from "./examples";

/**
* Create a new Router instance.
Expand Down Expand Up @@ -36,15 +35,6 @@ router.get("/", (req: Request, res: Response) => {
* @returns A JSON response containing home data.
*/
router.get(baseURL, getHome);

/**
* Define the GET route for examples.
* This route handles GET requests to the examples URL and calls the getExamples function.
*
* @returns A JSON response containing example data.
*/
router.get(`${baseURL}/examples`, getExamples);

/**
* Export the router instance for use in other modules.
*/
Expand Down
24 changes: 0 additions & 24 deletions tests/examples.test.ts

This file was deleted.

0 comments on commit 618b051

Please # to comment.