Giter VIP home page Giter VIP logo

goquiz's Introduction

GoQuiz

GoQuiz is a straightforward quiz application that has been ported from BayuDC's quiz and completely rewritten using the Go programming language. It has been developed with a focus on simplicity, efficiency, and self-contained functionality. The front-end still the same.

Run

The required seeder is quiz.xlsx copy it from example here. Rename it to quiz.xlsx then run the app with -s flag.

  • Download binary for your platform in Release page.
  • Place the quiz.xlsx in the same directory as the binary, then run

First Run with seeder. This is first time only run.

Note: since version 0.2.0 the app is able to detect first time run, so when there is no config file in the directory the app will run the seeder, just put your quiz.xlsx in the same directory where you start the goquiz binary. Windows user can just double click, it's fine.

# unix/linux
$ ./goquiz --seed # to run the seeder, or "-s" for short. Run once only!

# windows. Open cmd in your directory where binary stored.
C:\Users\dimanda\where-you-store-binary> goquiz.exe --seed

Normal Run, where you have ran with seeder before.

# unix/linux
$ ./goquiz

# windows
goquiz.exe # or just double click from explorer.exe is fine

On the first run the app will automatically create the config goquiz.yml. Configure it if needed.

To clean up the app, just delete the goquiz.db file.

Development

Build and run from Source:

go run -tags=dev .

Build with these in mind:

  • Single Binary: GoQuiz is designed to be compiled into a single binary file, making it easy to distribute and run on various systems without any additional dependencies or installations.

  • No Third-Party Database: GoQuiz eliminates the need for external databases. All quiz questions and answers are stored directly within the application itself, ensuring a seamless and self-contained experience.

  • Run and Go: With GoQuiz, you can simply run the binary file and start using the application immediately. There's no need for complex setup or configuration processes.

Credit to:

goquiz's People

Contributors

9d4 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.