amirfakhrullah / moonshot-chingu-quiz

Chingu Moonshot - Quiz App

Home Page:https://chingu-quiz.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues

moonshot-chingu-quiz

Chingu Moonshot - Quiz App

This repository contains a web application for practising programming and interview questions.

Table of Contents

Instructions

There are two ways to get up and running locally for development.

Docker Workflow

If you would like to work within the docker workflow, make sure to have Docker Desktop installed on Windows and Mac, or Docker and Docker-Compose on a linux distro. For more info on installing docker please visit the Docker website.

Once docker has been installed and set up:

  1. Fork this repository
  2. Clone your fork locally
  3. Run npm run docker-dev from the root directory
  4. Once you see client_1 | ready - started server on http://localhost:3000 the app is ready to be opened in the browser (you will have to manually launch your browser and navigate to http://localhost:3000)

Note: It may take a little while to set up the docker containers the first time docker-dev is run.

Without Docker

If you wish to work without Docker you will need Node (we recommend >= 15.0.0) and Postgres (>= 13.0.0).

  1. After forking and cloning this repository (steps 1 and 2 above), make sure Postgres is running
  2. Create a database for local use and adjust the .env.local file to match your credentials
  3. Run npm install from the root directory
  4. Once install command is done run npm run dev

Component Folder Structure

  -pages (each file in here is a 'page' for our app)
      -index.ts (homepage for our app, links to '/' go here)
      -//other pages

  -components
      -quiz
        -Question.ts
        -Answer.ts
        -Timer.ts
        -//etc..
      -shared
        -LinkButton.ts
        -//etc..
      -//other folder
        -//other related components

Designs

You can find the designs to this project here: Figma

If you're a designer and would like to contribute, feel free to reach out to us!

Code Dependencies

The app is built with the following code dependencies:

  1. NextJS
  2. Styled Components
  3. PostgreSQL

Contributing

This repository is open for contribution. For details on how to get started, check out our Contributing Guide.

Code of Conduct

Please check our code of conduct before you start contributing.

License

This repository is licensed under the GNU General Public License v3.0. Please, read this for additional information.

About

Chingu Moonshot - Quiz App

https://chingu-quiz.vercel.app/

License:GNU General Public License v3.0


Languages

Language:TypeScript 90.4%Language:JavaScript 6.7%Language:CSS 2.8%