File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
# 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.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ mod tests {
26
26
use poem:: Endpoint ;
27
27
use std:: sync:: Arc ;
28
28
29
- use crate :: build_app;
29
+ use crate :: api :: build_app;
30
30
use crate :: repository:: { Currency , InMemoryRepository } ;
31
31
32
32
fn setup_client ( ) -> TestClient < impl Endpoint > {
You can’t perform that action at this time.
0 commit comments