Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yoonge/conduit-axum

Exemplary back-end realworld application (called Conduit) in Rust, built with Axum + jsonwebtoken + PostgreSQL + SQLx.
https://github.com/yoonge/conduit-axum

api async axum back-end backend conduit demo example jsonwebtoken jwt postgres postgresql realworld restful rust sqlx tokio

Last synced: about 1 month ago
JSON representation

Exemplary back-end realworld application (called Conduit) in Rust, built with Axum + jsonwebtoken + PostgreSQL + SQLx.

Awesome Lists containing this project

README

        

# ⌨️ Conduit Axum

![version](https://img.shields.io/badge/version-0.2.0-green) [![license](https://img.shields.io/badge/license-MIT-blue)](./LICENSE) ![axum](https://img.shields.io/badge/axum-0.7.5-a21caf.svg) ![jsonwebtoken](https://img.shields.io/badge/jsonwebtoken-9.3.0-d63aff.svg) ![postgresql](https://img.shields.io/badge/postgresql-16.2-336792.svg) ![rust](https://img.shields.io/badge/rust-1.77.2-black.svg) ![sqlx](https://img.shields.io/badge/sqlx-0.7.4-orange.svg) ![cargo](https://img.shields.io/badge/cargo-1.77.2-black.svg)

## 💡 Introduction

Realworld: "The mother of all demo apps" — Exemplary back-end Medium.com clone (called [Conduit](https://github.com/yoonge/conduit-axum)) in Rust, built with Axum + jsonwebtoken + PostgreSQL + SQLx, it provides RESTful APIs for [Conduit React](https://github.com/yoonge/conduit-react).

## 🔰 Getting Started

```sh
$ git clone https://github.com/yoonge/conduit-axum.git

$ cd conduit-axum

# Change `.env` file with your own username, password, database_name etc.
$ cp .env.example .env

$ cargo install sqlx-cli

$ sqlx migrate run

$ cargo run
```

## 📄 License

Conduit Axum is [MIT-licensed](./LICENSE).

----

## 🏗️ Scaffold

```sh
$ cargo init conduit-axum && cd conduit-axum
```