Chingu Moonshot - Quiz App
This repository contains a web application for practising programming and interview questions.
There are two ways to get up and running locally for development.
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:
- Fork this repository
- Clone your fork locally
- Run
npm run local
from the root directory - 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 tohttp://localhost:3000
)
Note: It may take a little while to set up the docker containers the first time
docker-dev
is run.
If you wish to work without Docker you will need Node (we recommend >= 15.0.0) and Postgres (>= 13.0.0).
- After forking and cloning this repository (steps 1 and 2 above), make sure Postgres is running
- Create a database for local use and adjust the
.env.local
file to match your credentials - Run
npm install
from the root directory - Once install command is done run
npm run dev
-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
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!
The app is built with the following code dependencies:
This repository is open for contribution. For details on how to get started, check out our Contributing Guide.
Please check our code of conduct before you start contributing.
This repository is licensed under the GNU General Public License v3.0. Please, read this for additional information.