SQuiz is an interactive quiz style game, were players compete to get the highest score. SQuiz has a focus on Information Security & Privacy, we followed the best practices for security and User privacy, we also provide players the option to hide their profile from the public leaderboard. So what are you waiting for, go try and get the highest score!
Client: React, Next.js, Chakra-UI, Apollo Client
Server: Express, MongoDb, Apollo Server, Typegoose, Type-GraphQL, Docker
To deploy the front end, just push to the the main branch, the front end is deployed on Vercel.
To deploy the server, the server is deploying in a DigitalOcean droplet.
cd server
sh deploy.sh
-
Server
- First, create a
.env
file in the server directory and populate it with all the variables required, you can see wwhat is required from the.env.example
file. - Second,
cd server
andyarn install
thenyarn build
and finallyyarn start
to start the server.
- First, create a
-
Client
- First, create a
.env.local
file in the client directory and add the following to it:NEXT_PUBLIC_API_URL="http://localhost:4000/graphql"
. - Second,
cd client
andyarn install
thenyarn dev
to start the front end.
- First, create a