Welcome to the Awesome Rust API Project! 🚀
This project is a Rust-based API that connects to MongoDB, designed to help you learn Rust and build powerful APIs. Whether you're a beginner or an experienced Rustacean, this project provides a solid foundation for creating robust APIs.
- MongoDB Integration: Seamlessly connect to MongoDB and perform database operations.
- Actix Web Framework: Utilize the Actix web framework for building fast and scalable APIs.
- Easy to Customize: Add your own features, middleware, and business logic with ease.
Follow these simple steps to get the project up and running:
-
Clone the Repository:
git clone https://github.com/Mhmdaris15/awesome-rust-api.git cd awesome-rust-api
-
Install Dependencies:
cargo build
-
Configure MongoDB:
- Replace the MongoDB connection string in
src/main.rs
with your own.
- Replace the MongoDB connection string in
-
Run the Project:
cargo run
-
Explore the API: Open your browser and navigate to http://127.0.0.1:8080. You should see "Hello, world!".
We welcome contributions! Whether you find a bug, have a feature request, or want to contribute code, feel free to open an issue or submit a pull request. Check out our Contributing Guidelines for more information.
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to the Rust community for their continuous support and inspiration.
Happy coding! 🦀✨