Skip to content

A blog web app (Rust axum + Sveltekit)

Notifications You must be signed in to change notification settings

atjsh/rust-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.