Skip to content

Commit 95dfd6d

Browse files
committed
Expand README with the Rust bits
1 parent e4284b6 commit 95dfd6d

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
11
# Serverless Rust API Demo
2+
3+
This is the accompanying repository for the
4+
"Serverless Rust API on AWS" blog post series.
5+
6+
It contains the code for running a Poem-based web API
7+
on AWS Lambda. Deployments are done using AWS CDK.
8+
9+
## Pre-requisites
10+
11+
- A recent version of Rust
12+
13+
## To run the application locally
14+
15+
In order to run the application locally, run
16+
17+
```shell
18+
cargo run --bin local
19+
```
20+
21+
You can use Swagger UI to view the API documentation
22+
at http://0.0.0.0:3000.

src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mod tests {
2626
use poem::Endpoint;
2727
use std::sync::Arc;
2828

29-
use crate::build_app;
29+
use crate::api::build_app;
3030
use crate::repository::{Currency, InMemoryRepository};
3131

3232
fn setup_client() -> TestClient<impl Endpoint> {

0 commit comments

Comments
 (0)