Code Monkey home page Code Monkey logo

go-react-quizapp's Introduction

Web based quiz game based on two frameworks - Go and React

Coded by: Anchit Gupta

This is a Go server that implements REST API and interacts with the database at the backend. The front end is a React application that is an interactive quiz. This was SSAD Assignment 2.

Functionality

  1. Admin privileges to one user along with admin panel Admin can:
    • View/Create/Delete quizzes
    • Create/Delete/Edit questions/options in each quiz
    • View all users
    • Delete users
  2. Registration and login for users
  3. Multiple genre of quizzes
  4. Each user can attempt a quiz once(so attempt carefully)
  5. At least two different types of questions
  6. Global Leaderboard across genre
  7. Powerups(used once per quiz): -Reveal the number of correct options. -Reveal the complete ans.

Packages used for go

  • fmt
  • github.com/gin-contrib/cors
  • github.com/gin-gonic/gin
  • github.com/jinzhu/gorm
  • github.com/jinzhu/gorm/dialects/sqlite

Getting Started

Directory/:

--go/
---react-app/
---README.md

In one terminal:

cd ./go/src
go run ReactGoQuiz.go

In another terminal:

cd ./react-app
yarn start

go-react-quizapp's People

Contributors

anchit1999 avatar

Watchers

James Cloos 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.