Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicolas-sabbatini/url-oxidizer
This is the implementation of the secong exercise of the Gophercises course
https://github.com/nicolas-sabbatini/url-oxidizer
gophercises http rocket rocket-rs rust rust-lang sqlite sqlite3 url-shortener
Last synced: 7 days ago
JSON representation
This is the implementation of the secong exercise of the Gophercises course
- Host: GitHub
- URL: https://github.com/nicolas-sabbatini/url-oxidizer
- Owner: nicolas-sabbatini
- License: mit
- Created: 2023-10-18T00:56:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-25T23:07:22.000Z (about 1 year ago)
- Last Synced: 2024-10-17T00:07:59.309Z (22 days ago)
- Topics: gophercises, http, rocket, rocket-rs, rust, rust-lang, sqlite, sqlite3, url-shortener
- Language: Rust
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# url-oxidizer
## Description
This is the implementation of the secong exercise of the [Gophercises](https://gophercises.com/) course.
The exercise is about creating a URL shortener. The proyect has 2 binaris that can be used:- One that creates a short URL from a YAML or JSON file.
```bash
cargo run --bin url-oxidizer-from-file -- -j input/url-map.json
cargo run --bin url-oxidizer-from-file -- -j input/url-map.yaml
```- One that creates a short URL from a SQL database. (SQLite is used)
```bash
cargo run --bin url-oxidizer-from-sql
```
This one has a few extra endpoints to create and edit the urls in the database.