A super simple web app based on BookTube (Youtube but only books) First Sentance Challange. The app is made in Rust (Rocket) and pure Javascript. A Frontend has been made only for the video so it can be buggy. We'll make it better in the future.
-
rustc 1.68.2
-
cargo 1.68.2
-
or you can use docker
-
serde 1.0.140
-
rustc-serialize 0.3.24
-
serde_json 1.0.85
-
rocket 0.5.0
Run this commands in your terminal to clone the app:
git clone https://github.com/Nithe14/FirstSentanceGuess.git
cd FirstSentanceGuess
Update books database by editing text.json
. For now id
must be an iterator (1, 2, 3,...n). DB structure is following:
"<id>" {
"Title": "<Native-Language-Title>",
"TitleEN": "<English-Title>",
"Author": "<N. Surname>",
"Ganre": "<Ganre>"
"Sentence1": "<First Sentance of the book>",
"Sentence2": "<Second Sentance of the book>",
"Sentence3": "<Third Sentance of the book>"
},
"<next-id>" {
...
}, //and so on...
"<last-id>" {
...
} //..until the last one
Run this command to start the app:
cargo run
Go to your browser at: 127.0.0.1:8000
and start play the game!
Simply run this commands in your terminal:
git clone https://github.com/Nithe14/FirstSentanceGuess.git
cd FirstSentanceGuess
docker-compose up
Go to your browser at: 127.0.0.1:8000
and start play the game!
You can play demo here. Only in Polish at this moment. Enjoy!