Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matheusb432/rust-uchat
'Build a Full-Stack Twitter Clone with Rust' course code and notes
https://github.com/matheusb432/rust-uchat
axum dioxus full-stack-web-development rust rust-course
Last synced: 2 months ago
JSON representation
'Build a Full-Stack Twitter Clone with Rust' course code and notes
- Host: GitHub
- URL: https://github.com/matheusb432/rust-uchat
- Owner: matheusb432
- License: mit
- Created: 2023-07-05T21:22:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-06T17:45:08.000Z (over 1 year ago)
- Last Synced: 2024-09-25T16:10:19.577Z (5 months ago)
- Topics: axum, dioxus, full-stack-web-development, rust, rust-course
- Language: Rust
- Homepage:
- Size: 1.03 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-list - matheusb432/rust-uchat - uchat?style=social"/> : 'Build a Full-Stack Twitter Clone with Rust' course code and notes. (GUI)
- awesome-rust-list - matheusb432/rust-uchat - uchat?style=social"/> : 'Build a Full-Stack Twitter Clone with Rust' course code and notes. (GUI)
README
# rust-uchat
'Build a Full-Stack Twitter Clone with Rust' course code and notes
[Original Course Repository](https://github.com/jayson-lennon/ztm-project-uchat)
## Updating Dependencies
As the `Cargo.lock` file is included in this repository, you can update the dependencies by running:
```bash
cargo update
```## Adding a New Dependency
To add a new dependency to one of the crates, run:
```bash
cargo add -p
```## Project Init
This will check for the dependencies listed above and attempt to install the Rust
dependencies. Dependencies which require manual install will provide a link to
installation instructions.```bash
cargo run -p project-init
cargo install watchexec-cli
```If on windows, also run:
```bash
cargo install --locked wasm-bindgen-cli
```## Formatting
To format the code, run:
```bash
cargo fmt
```## Linting
To lint the code, run:
```bash
cargo clippy
```To fix the code, run:
```bash
just fix
```## Notes in Code
- To visualize notes right next to their example implementations that are scattered throughout this repository, I'd recommend using the VS Code extension `Todo Tree`, and then just filter for any comment with a `NOTE` prefix to it.
- e.g. `// NOTE This contains a note`
- You can also just search for `NOTE` (case sensitive and with one whitespace afterwards) in the IDE of your choice and it should show every note in the project.