GithubHelp home page GithubHelp logo

quiztime's Introduction

quiz-time | Trivia API

A trivia game web app with MERN Stack that allows a user to answer true or false and multiple-choice questions and login as guest or create an account to save scores.

  • Utilized Open Trivia Database API to retrieve trivia questions
  • Built a CRUD RESTful API with Node.js, Express, and MongoDB.
  • Implemented authentication and authorization using JSON Web Tokens and Bcrypt.
  • Applied React Hooks and Context API for frontend’s state management technique.

Installation and Setup Instructions

Clone down this repository. You will need node and npm installed globally on your machine.

Installation:

npm i

To start client and server:

npm start

Adding Environment Variables:

Create .env.development.local file in /client directory:

Key Example Value
REACT_APP_BACKEND_URL http://localhost:5000/api
REACT_APP_ASSET_URL http://localhost:5000
REACT_APP_JWT_SECRET_KEY yoursecretkey

Also on /server/config, create config.env:

Key Example Value
MONGODB_URI_LOCAL mongodb://127.0.0.1:27017/quiztimeDB
JWT_SECRET_KEY yoursecretkey

quiztime's People

Contributors

thisisvikasmourya avatar v1k45053 avatar

Stargazers

 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.