Building An HTTP Server with Rust
(GMT+8)
(GMT+8)
Description
Have you ever wondered what it’s like to write your own HTTP server in Rust?
Fear not because in this campaign, you will experience that Rust with its standard library alone can allow you to write your own HTTP server.
You will be able to know how to run a basic static server. Then we will ramp up the difficulty by challenging you to transform it into a simple file server!
ℹ️ Note: It’s important to finish the Rust Pathway to acquire the prerequisites:
- Familiarity with Rust data types, semantics and syntax. See Rust Pathway’s Rust Basics to learn more about Rust.
- Basic Git Operations. Check out the Dev Tools Pathway to learn Git.
For technical help on the StackUp platform & quest-related questions, join our Discord, head to the 🆘 | quest-help-forum channel and look for the correct thread to ask your question.
Learning Outcomes
By the end of this campaign, you will be able to:
- Know more crates from the standard library
- Know basic ideas of how a server works
- Apply TCP/HTTP code from standard library to create a static HTTP server
- Transform or parse an HTTP request path to create an HTTP response
Quests
-
Quest 1 - Reviewing Web Technologies, Tools and Processes
PastNo Reward597 PlayersView Quest
View Quest
-
Quest 2 - Are We Web Yet?
PastNo Reward355 PlayersView Quest
View Quest
-
Quest 3 - Building An HTTP Server with Rust
Past$3 Reward895 PlayersView Quest
View Quest
-
Bounty - Simple File Server
Past$25 Reward157 PlayersView Quest
View Quest
Find articles to support you through your journey or chat with our support team.
Help Center