Skip to content

Commit

Permalink
feat: add 404 and index page
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Jun 21, 2024
1 parent 8ade63a commit 58e4e01
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 18 deletions.
13 changes: 13 additions & 0 deletions TEMPORARY_SOLUTION/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Page Not Found</title>
</head>
<body>
<h1>404 Page</h1>
<p>Sorry, the page you are looking for could not be found.</p>
<p>Please check the URL or go back to the <a href="https://gabriel-logan.github.io/fakeapi/api">homepage</a>.</p>
</body>
</html>
7 changes: 0 additions & 7 deletions TEMPORARY_SOLUTION/404.md

This file was deleted.

11 changes: 0 additions & 11 deletions TEMPORARY_SOLUTION/README.md

This file was deleted.

21 changes: 21 additions & 0 deletions TEMPORARY_SOLUTION/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to FakeAPI</title>
</head>
<body>
<h1>Welcome to FakeAPI</h1>
<p>This is the root directory of the FakeAPI project. Here you will find all the necessary information to understand and use this fake API.</p>

<h2>Routes</h2>
<ul>
<li>/api</li>
<li>/api/:id</li>
</ul>

<h2>About the project</h2>
<p>FakeAPI is a solution for simulating a real API during software development. It allows you to create custom endpoints and define fictional responses to test and validate your application.</p>
</body>
</html>

0 comments on commit 58e4e01

Please sign in to comment.