https://github.com/felipeoriani/rust-raw-rest-api
This repository is part of my Rust learning journey, demonstrating how to build a raw REST API with HTTP streams and PostgreSQL for data access.
https://github.com/felipeoriani/rust-raw-rest-api
cargo http postgres postgresql rest-api rust rust-lang
Last synced: 10 months ago
JSON representation
This repository is part of my Rust learning journey, demonstrating how to build a raw REST API with HTTP streams and PostgreSQL for data access.
- Host: GitHub
- URL: https://github.com/felipeoriani/rust-raw-rest-api
- Owner: felipeoriani
- Created: 2025-06-22T17:55:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-06-24T20:58:07.000Z (10 months ago)
- Last Synced: 2025-06-24T21:43:35.622Z (10 months ago)
- Topics: cargo, http, postgres, postgresql, rest-api, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust REST API
This project was created to learn more about Rust programming language, and the target here is to have a working simple raw REST API written in Rust.
## Dependencies
```
docker compose up -d
```
## How to run
Use cargo to build and run at the terminal:
```
cargo build
```
And then
```
cargo run
```
It will use the `.env` file to set the PORT, or if it's not defined, the port `8080` will be used.