Skip to content

This is a quiz app with software engineering questions from an API. Users are given 20 questions to answer. Once submitted, a score is provided with the quiz answers and an option to start a new quiz.

Notifications You must be signed in to change notification settings

nickldimartino/software-engineer-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Engineer Quiz

📝 Description

This is a single-page application with a quiz for Software Engineers. When the page opens, 20 questions will be generated. The user must then answer the questions and hit the submit button at the bottom of the page to see their score. The user will then have the chance to view the answers to the quiz and generate a new quiz.

While studying at General Assembly, I created this bonus project by myself to learn TypeScript with the other technologies taught in the course.

Due to the fact that I did not use a bundler (I created this Express app from scratch) the use of the dotenv library becomes quite complex with TypeScript. After speaking with a couple of my instructors, it was determined that this project could be run with the set up below.

🖼️ Screenshots

📊 The Quiz
Description Screenshot

Top of the Page

Finished Quiz

💻 Technologies Used

TypeScript JavaScript Express Node TS-NODE MongoDB HTML5 CSS3 Git Postman Axios Markdown Github Heroku VSCode Ubuntu Windows

⚛️ Getting Started

📲 Instructions

API Setup
  1. Navigate to the website https://quizapi.io/ and generate your own API key.

  2. In the terminal, before running the server, enter the command 'export QUIZ_API_KEY=[YOUR API KEY]'.

  3. Then, start the server as usual.

Taking the quiz
  1. The API will generate 20 questions.

  2. Answer each question by clicking one of the boxes.

  3. Submit the quiz at the end the see your scores and the answers.

  4. Select "New Quiz" to take another quiz.

⏭️ Next Steps

  • Find and fix possible bugs
  • Refactor code
  • Recreate project using a bundler so that users do not need to generate their own API key
  • Modify the answers to be more readable

About

This is a quiz app with software engineering questions from an API. Users are given 20 questions to answer. Once submitted, a score is provided with the quiz answers and an option to start a new quiz.

Topics

Resources

Stars

Watchers

Forks