Code Monkey home page Code Monkey logo

rust-blog's Introduction

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.

rust-blog's People

Contributors

atjsh avatar dependabot[bot] avatar

Watchers

 avatar

rust-blog's Issues

ORM을 사용하여 구현해보기

현재는 sqlx로 SQL을 사용하고 있음.

좋긴 한데, SQL문을 손수 작성해줘야 한다는 점은 별로임.

대신 ORM 라이브러리를 사용한다면 SQL 작성에 대한 부담을 덜 수 있음.


ORM 후보

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.