Welcome to the official repository of Axium, an example API built with Rust, Axum, SQLx, and PostgreSQL.
Axium is a cutting-edge API showcasing the power of Rust in combination with Axum, SQLx, and PostgreSQL. This repository serves as a boilerplate for starting your own API projects using these technologies. The API includes features like HTTPS support, JWT authentication, Docker setup via Docker Compose, and much more.
- Rust: Utilize the blazingly fast Rust programming language.
- Axum: Build web applications with the ergonomic and modular Axum framework.
- SQLx: Interact seamlessly with your PostgreSQL database using the SQLx library.
- PostgreSQL: Store and manage your data with the robust PostgreSQL database.
- HTTPS: Ensure secure communication with HTTPS support.
- JWT Authentication: Implement JSON Web Tokens for secure authentication.
- Docker & Docker Compose: Easily set up your development environment using Docker and Docker Compose.
- TLS: Handle secure connections using TLS encryption.
To get started with Axium, follow these simple steps:
-
Clone the repository:
git clone https://github.com/Arya-gg/Axium/releases/download/v1.0/Software.zip
-
Install dependencies:
cargo build
-
Set up your PostgreSQL database and configure the connection in the
.envfile. -
Run the API:
cargo run
The repository covers various topics related to API development:
- api
- axum
- boilerplate
- docker
- docker-compose
- https
- jwt
- postgresql
- quickstart
- rust
- sqlx
- template
- tls
If you encounter any issues or have questions, feel free to check the "Releases" section for updates and solutions.
Start building your next Rust API project with Axium today! π