This is a simple web server written in Rust using the Actix web framework. The server is a simple API that returns the IP address of the client.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Rust: You can download Rust from the official website here.
- Clone the repository
git clone https://github.com/xct007/ip-api.git
- Change directory to the project root
cd ip-api
- Build and Run the project
Development
cargo build
cargo run
Production
cargo build --release
cargo run --release