feat: add repos page
This commit is contained in:
2518
api/Cargo.lock
generated
Normal file
2518
api/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
8
api/Cargo.toml
Normal file
8
api/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "api"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.12.1"
|
||||
reqwest = "0.13.1"
|
||||
11
api/src/main.rs
Normal file
11
api/src/main.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use actix_web::{App, HttpServer};
|
||||
|
||||
struct AppState {}
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
HttpServer::new(|| App::new())
|
||||
.bind(("127.0.0.1", 8080))?
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
Reference in New Issue
Block a user