atjsh / rust-blog

A blog web app (Rust axum + Sveltekit)

Home Page:https://blog.atj.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Making a blog web app with SvelteKit and axum

Screenshot


This is my side project.

It consists of two parts: A rust web server application written with axum that will be deployed to AWS Lambda, and a web client written with SvelteKit and typescript. It uses PostgreSQL as a database.

server

I chose to use axum as a web framework, and sqlx as a database driver. The app will deployed to AWS Lambda and locally tested with cargo-lambda.

web-client

I Chose to use SvelteKit as a web framework, and typescript as a language. The app will be deployed to Cloudflare Pages and locally tested with vite.

Develop locally

server

cargo lambda watch -p 3000

and local cargo-lambda server will be running.

web-client

npm i
npm run dev

and local vite server will be running.

About

A blog web app (Rust axum + Sveltekit)

https://blog.atj.sh


Languages

Language:Rust 45.1%Language:Svelte 33.4%Language:TypeScript 18.7%Language:JavaScript 1.1%Language:Dockerfile 0.7%Language:HTML 0.6%Language:Shell 0.4%