Skip to content

Commit

Permalink
feat(docs): remove hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Jun 18, 2024
1 parent 19eca0a commit 586f298
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion backend-nest/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ import { Injectable } from "@nestjs/common";
@Injectable()
export class AppService {
getHello(): string {
return "Hello World!";
return `
<h1>
Hello, fellow developer👋
</h1>
<p>
Thank you for checking out my project.
You can find the API documentation <a href="https://metro-now.vercel.app/docs/rest-api">here</a>.
</p>
`;
}
}
4 changes: 2 additions & 2 deletions docs/src/pages/docs/rest-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ GET https://api.metronow.dev/metro?station=["Anděl","Dejvická"]
{
[platform id]: [
{
"delay": "number", // seconds
"delay": "int", // in seconds (can be negative)
"departure": "string", // ISO 8601
"heading": "string", // station
"heading": "string", // last stop
"line": "A" | "B" | "C"
}
]
Expand Down

0 comments on commit 586f298

Please sign in to comment.