Skip to content

A portfolio website dedicated to showing my work in a more creative environment.

License

Notifications You must be signed in to change notification settings

connellr023/cr023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cr023

A portfolio website dedicated to showing my work in a more creative environment.

Rust WASM Sass


Overview

This project specifically is different as I used it as an introduction to the Rust programming language with its web assembly compilation feature. This was created utilizing the Yew framework which is very similar to React for creating front end web services.


Deployment

My portfolio website is deployed on GitHub Pages here.


Notes

I am aware this could have been easily created with traditional React or even JQuery to be honest. However, as mentioned above, this project is mainly for learning Rust and it was by no means practical in comparison. 😢


Development Environment

The setup below follows Yew setup instrucions here.

Add WebAssembly as a compilation target:

rustup target add wasm32-unknown-unknown

Install trunk which is used for bundling WASM appliactions:

cargo install --locked trunk wasm-bindgen-cli

In the root directory, run:

trunk serve

to serve the WASM application to http://localhost:8080.


Building for Production

The website is bundled for production with the following command:

trunk build --release --public-url /cr023/


Developed by Connell Reffo in 2024

About

A portfolio website dedicated to showing my work in a more creative environment.

Topics

Resources

License

Stars

Watchers

Forks