Skip to content

Commit

Permalink
doc: video pres
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian authored and Florian committed Nov 3, 2023
1 parent b5e6b10 commit f2fe64a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
15 changes: 11 additions & 4 deletions site/docs/intro.md → site/docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ sidebar_position: 1
slug: /
---

import { Video } from "./../src/components/Video";

# Introduction

Http-wizard is a type safe api-client designed to streamline the development of your application.
It's fully compliant with HTTP standards and facilitates the easy usage of your API with non ts/js clients.

<Video src="/video.mov" />

### What it can do:

- Export a type-safe client API
Expand All @@ -17,10 +21,13 @@ It's fully compliant with HTTP standards and facilitates the easy usage of your

### Why not GraphQL or tRPC ?

Both are excellent choices!
<b>Http-wizard</b> allows maintaining a standard HTTP API and to keep tools such as Swagger, etc to document your API.
For people who wants a tRPC like DX but still using fastify or Express with full control over route naming, http-wizard is made for you !
It combines the best of both worlds, ensuring a smooth, efficient, and productive development process.
Both are excellent choices!

<b>Http-wizard</b> allows maintaining a standard HTTP API and to keep tools such
as Swagger, etc to document your API. For people who wants a tRPC like DX but still
using fastify or Express with full control over route naming, http-wizard is made
for you ! It combines the best of both worlds, ensuring a smooth, efficient, and
productive development process.

### How it works ?

Expand Down
5 changes: 5 additions & 0 deletions site/src/components/Video.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from "react";

export const Video = ({ src }: { src: string }) => {
return <video src={src} autoPlay muted style={{ width: "100%" }} />;
};
Binary file added site/static/video.mov
Binary file not shown.

0 comments on commit f2fe64a

Please sign in to comment.