https://github.com/guibeira/api-in-memory
An api that store numbers in memory
https://github.com/guibeira/api-in-memory
api-rest openapi rust
Last synced: 7 months ago
JSON representation
An api that store numbers in memory
- Host: GitHub
- URL: https://github.com/guibeira/api-in-memory
- Owner: guibeira
- Created: 2023-12-30T17:33:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T18:56:12.000Z (about 2 years ago)
- Last Synced: 2025-03-17T20:03:58.654Z (11 months ago)
- Topics: api-rest, openapi, rust
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Api in memory
This is a sample of api using database in memory
## instalation
This project was made using [rust](rustup.rs/), make sure you have it installed for build the project, otherwise, you can
check the release [page](https://github.com/guibeira/Api-in-memory/releases)
With the project cloned in you machine, in the root folder build the project using this command:
```bash
cargo build
```
## run the api
```bash
cargo run --bin api
```
## api documentation
With the project running access.
http://localhost:8000/swagger-ui
## tests
```bash
cargo test -v
```