Skip to content

Secret santa game implemented only using Rust (back and front) 🦀

License

Notifications You must be signed in to change notification settings

guibeira/secret-santa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secret Santa

This is one experiment to not use database, and only use Rust (backend and frontend)

secret_santa.mp4

Installation

This project uses Rust, make sure you have it installed

First install the WebAssembly Target

rustup target add wasm32-unknown-unknown

Then install Trunk

cargo install --locked trunk

the Backend uses Watch to refresh the server,

cargo install cargo-watch

With all the dependencies installed, it's time to run our frontend. In the front folder, run:

trunk serve

Open another terminal, and in the root folder, run:

make start

Now in your browser access localhost:8080

Test

cargo test

This project I aim to use with my friends, and most of the then are Brazilian, for this reason, all the messages are in Portuguese. If you know how to add translations to this project, feel free to open a pull request.