GithubHelp home page GithubHelp logo

nithe14 / firstsentenceguess-archive Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 163 KB

BookTube First Sentance Challange inspired Web App

Home Page: https://bookshelf.useless.pl/

License: GNU General Public License v3.0

Rust 8.53% JavaScript 39.81% HTML 18.56% CSS 32.49% Dockerfile 0.60%
books booktube game rust

firstsentenceguess-archive's Introduction

FirstSentanceGuess App

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.

Prerequisities

  • rustc 1.68.2

  • cargo 1.68.2

  • or you can use docker

Dependencies

  • serde 1.0.140

  • rustc-serialize 0.3.24

  • serde_json 1.0.85

  • rocket 0.5.0

Quick Start

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 with cargo

Run this command to start the app:

cargo run

Go to your browser at: 127.0.0.1:8000 and start play the game!

Run with docker compose

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!

Demo

You can play demo here. Only in Polish at this moment. Enjoy!

firstsentenceguess-archive's People

Contributors

nithe14 avatar pointerguide avatar

Watchers

 avatar

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.