Giter Club home page Giter Club logo

quiz-app's Introduction

Quiz App

This is a simple quiz portal designed using React.js and Go-lang.

About

I have to written 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.

Installing Dependencies:

To setup the given project follow the instructions separately for each:

GO

  • To install Go on ubuntu Look here
  • Next, to install other packages used in this, run following commands from terminal:
    • go get -u -v github.com/gin-gonic/gin
    • go get -u -v github.com/jinzhu/gorm
    • go get -u -v github.com/jinzhu/gorm/dialects/sqlite
    • go get -u -v github.com/gin-contrib/cors# Quiz App

This is a simple quiz portal designed using React.js and Go-lang.

React

  • First, install node. Then install yarn.

How to run the Application:

  • Download the project
  • React
    • cd react-app
    • Run yarn install or simply yarn to install all dependencies
    • If no error is encountered then run yarn start
  • Go
    • cd go
    • cd src
    • go run '5 - CRUD API.go'

Features:

  • Registration and login for users
  • Sign Up requires email and username to be unique
  • Multiple genre of quizzes - Friends, Cricket, General Knowledge, Maths
  • Multiple types of questions,MCQ, Single Correct.
  • Leaderboard
  • Lifeline
  • Attempted quiz history
  • Admin privileges to one user. He has privilege to do the following:
    • View/Create/Delete quizzes
    • Create/Delete/Edit questions/options in each quiz
    • Create a new genre
    • View all users
    • Delete users
  • The score is displayed after submitting the quiz and entry in leaderboard is made.
  • View complete perfomance by viewing the results of previous quizzes attempted.

Owner: Sajal Asati

quiz-app's People

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.