Coded by: Arnav Kapoor
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.
- Admin privileges to one user along with admin panel
Admin can:
- View/Create/Delete quizzes
- Create/Delete questions in each quiz
- View all users
- Delete users
- Registration and login for users
- Multiple genre of quizzes
- At least two different types of questions
- Global Leaderboard across genre and Your past scores
- Questions may contain images and audio
- fmt
- github.com/gin-contrib/cors
- github.com/gin-gonic/gin
- github.com/jinzhu/gorm
- github.com/jinzhu/gorm/dialects/sqlite
Directory/:
---go/
---react-app/
---README.md
In one terminal:
cd ./go/src
go run goserver.go
In another terminal:
cd ./react-app
yarn start