Build a Simple Web API with F# + Giraffe

Опубликовано: 07 Декабрь 2022
на канале: HAMY LABS
3,605
87

In this video we walk through how to build a minimal web API with F# and Giraffe - a micro web framework on ASP.NET. We demo the API and walk through the code line by line from how to set up the server, how to create GET and POST routes, and how to read and return json payloads.

Chapters

00:33 - Web API Overview
03:03 - Running the Web API
03:54 - Web API - DEMO
06:04 - Code Walkthrough
07:26 - Code - Project Metadata
08:31 - Code - Main Entry
13:28 - Code - Domain Logic

Links:

Full source code: https://hamy.xyz/labs/2022-12-simple-...
Giraffe GitHub: https://github.com/giraffe-fsharp/Gir...
F# endorsed web frameworks: https://fsharp.org/guides/web/#web-fr...
Up and Running with CloudSeed (F# / SvelteKit boilerplate): https://hamy.xyz/labs/2022-11-up-and-...

About me: I'm Hamilton - Creative Technologist / Entrepreneur. I build things with code and share my creations and process here. More about me: https://hamy.xyz

Connect with me:

Instagram: @hamy.labs -   / hamy.labs  
Twitter: @SIRHAMY -   / sirhamy