/awesome-rust-api

🦀✨ Welcome to the Awesome Rust API Project! This repository houses a hands-on learning experience for Rust enthusiasts eager to build robust APIs. Featuring MongoDB integration and the Actix web framework, this project provides a solid foundation for crafting performant and scalable APIs in Rust.

Primary LanguageRust

Awesome Rust API Project

Welcome to the Awesome Rust API Project! 🚀

License Rust Version

Overview

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.

Features

  • 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.

Getting Started

Follow these simple steps to get the project up and running:

  1. Clone the Repository:

    git clone https://github.com/Mhmdaris15/awesome-rust-api.git
    cd awesome-rust-api
  2. Install Dependencies:

    cargo build
  3. Configure MongoDB:

    • Replace the MongoDB connection string in src/main.rs with your own.
  4. Run the Project:

    cargo run
  5. Explore the API: Open your browser and navigate to http://127.0.0.1:8080. You should see "Hello, world!".

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Special thanks to the Rust community for their continuous support and inspiration.


Happy coding! 🦀✨