Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added structure #12

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

Villarley
Copy link
Contributor

Pull Request for TrustBridge - Close Issue

Pull Request Information

This pull request sets up the initial backend project for TrustBridge using Rust with the Axum framework. It establishes the foundation for the project, solving the need for a modular and scalable backend structure, and includes a functional /health endpoint to verify server functionality.

🌀 Summary of Changes

  • Project Initialization: Created the base project using cargo new.
  • Dependency Installation: Added required dependencies such as axum, tokio, dotenvy, and more.
  • Modular Structure: Implemented the project structure:
    • src/routes for API routing with a functional health.rs.
    • Placeholders for services and models.
  • Environment Support: Added .env configuration using dotenvy.
  • Health Check Endpoint: Implemented /health endpoint to confirm server functionality.
  • Logging: Integrated pretty_env_logger for enhanced logging and debugging capabilities.

Evidence After Solution

The backend has been initialized with the proper structure, and the /health endpoint is fully functional.

📂 Related Issue

This pull request will **close #1 ** upon merging.


🧾 Notes

  • The project adheres to the Git Guidelines for atomic commits and maintains a clean commit history.
  • The implementation is scalable and future-proof for additional routes and services.
  • For further details, refer to:

🎉 Thank you for reviewing this PR! 🎉

@Villarley
Copy link
Contributor Author

@JosueBrenes ready for review

@JosueBrenes JosueBrenes merged commit a66fc55 into byteworkscr:master Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Init] Base Project in Rust with Axum/Tonic
2 participants