File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff 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 > {
You can’t perform that action at this time.
0 commit comments