Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiisanda/actix-web-note
trying to learn actix-web by writing a notes application
https://github.com/jiisanda/actix-web-note
Last synced: about 7 hours ago
JSON representation
trying to learn actix-web by writing a notes application
- Host: GitHub
- URL: https://github.com/jiisanda/actix-web-note
- Owner: jiisanda
- Created: 2024-03-21T07:56:42.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-23T14:40:33.000Z (8 months ago)
- Last Synced: 2024-03-24T13:42:21.300Z (8 months ago)
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# actix-web-note
Just trying to learn actix-web by writing a notes application.
## Running the application
clone the repository and run the following commands:
```bash
git clone https://www.github.com/jiisanda/actix-web-note
```start the postgresql server in the Docker container by running
```bash
docker-compose up -d
```run ```cargo install sqlx-cli``` to install the SQLX-CLI if you do not already have it. Push `up` migrations scripts
to the postgresql database by running ```sql migrate run```Run ```cargo r -r``` to install the necessary crates and start the Actix-Web server.
Import the [postman_collection](web-actix-notes.postman_collection.json) into Postman or any API Client to test the CRUD
API endpoints.