jackflores.com Tailwind Templates

Jackflores.com

My public website to display my portfolio -- built with Rust, Tailwind CSS, Yew, and Actix Web

Portfolio Website

https://jackflores.com

Tech stack:

I chose Rust over JavaScript for this project for many reasons. While I love JS and have a lot of experience with Node, Next, and React, I find Rust to be cleaner, more intuitive, and easier to scale (this project is small now but will continue to grow). I also love and appreciate Tailwind -- I found it easy to integrate Tailwind with the Yew framework.

To run:

Setup

Frontend

  • Step 1: change to frontend dir

    • cd frontend
  • Step 2: build tailwind locally

    • npx tailwindcss -i ./styles/input.css -o ./styles/output.css --watch
  • Step 3: start app

    • Option 1: just trunk
      • in a new shell: trunk serve
    • Option 2: docker
      • docker build -t frontend
      • docker run -p 8080:8080 frontend

Backend

  • Step 1: change to backend dir

    • cd backend
  • Run test suite

    • cargo test
  • Run dev server

    • cargo build
    • cargo run

References

Top categories

Loading Svelte Themes