Skip to content

example of a full stack web app (backend and frontend) written in Rust

License

Notifications You must be signed in to change notification settings

zupzup/rust-fullstack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-fullstack-example

An example of creating a full stack web application (backend and frontend) using Rust.

Prerequisites

Install Trunk.

Database (Docker)

To run PostgreSQL using docker-compose, run:

  • docker-compose -f docker-compose.yml up, press Ctrl + C to quit
  • docker-compose -f docker-compose.yml up -d to run in detached mode, and run docker-compose -f docker-compose.yml down when done

Backend

Go to ./backend and start the server using make dev.

Frontend

Go to ./frontend and start a local server on port 8080 using make web.

You can visit the frontend by going to http://127.0.0.1:8080.

You can create owners and for each owner, on their detail page, create pets and delete them.

About

example of a full stack web app (backend and frontend) written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages