Bring your mojo Api to the web with a simple FireTCP server!!
- mojo version 0.6.0 or newer
- Python version 3.10 or newer (exact version doesn't really matter)
- need to set the python library environment variable to compile
Step 1: $ mkdir hello_fire_api && cd hello_fire_api
Step 2: $ curl -sS https://raw.githubusercontent.com/Jensen-holm/FireTCP/main/install.sh | bash
Step 3: Once you have made a project and cloned the FireApi you can get coding! Check out the examples below or in the examples directory before getting started or read this tutorial I made on medium.
The main purpose of FireTCP is to create the base of the foundation when it comes to web programming. HTTP frameworks are built around TCP sockets, and I hope that since FireTCP is pretty user friendly and simple, an http web framework for mojo can easily be built around it.