Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/yoonge/conduit-axum
- Owner: yoonge
- License: mit
- Created: 2024-04-03T15:59:30.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-04T02:06:01.000Z (7 months ago)
- Last Synced: 2024-05-04T03:21:21.582Z (7 months ago)
- Topics: api, async, axum, back-end, backend, conduit, demo, example, jsonwebtoken, jwt, postgres, postgresql, realworld, restful, rust, sqlx, tokio
- Language: Rust
- Homepage:
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```