GithubHelp home page GithubHelp logo

eunki7 / python-level-challenge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ainize-team1/python-level-challenge

0.0 1.0 0.0 39.82 MB

License: MIT License

HTML 4.03% CSS 1.01% JavaScript 94.47% Dockerfile 0.48%

python-level-challenge's Introduction

Python Level Challenge

Go to Challenge ๐Ÿ‘‰ Run on Ainize

๐Ÿ’ฏ A simple online python quiz

  • Levels are set based on the quiz score
  • Solve quiz and check your level (please don't take it too seriously)!

โŒจ๏ธ How to use

  • Open web browser(recommend Chrome browser)
  • Connect http://localhost:3000(It's for local environment. other uses http://<IP>:<PORT> form)
  • Click Start a Quiz
  • Enjoy quiz!
  • You can see the score and the correct answers
  • Share the result with your friends

๐Ÿš€ How to run

On local(dev)

npm install -g nodemon
npm install
npm run watch
npm run dev

On local(prod)

npm install
npm run build
npm run production

Thru docker

docker build -t <Name> .
docker run -p 80:3000 -d <Name>

๐Ÿ›  How to contribute

Feel free to post issues and send pull requests. We need more items in the quiz pool!

Basic contribution Guidelines

Ensure your pull request adheres to the following guidelines.

  • Create issues if you have any interesting ideas or bug reports
  • Use English in all cases (communication, comment, and code review etc)

Code contribution guide

  • Indentation of 4 spaces
  • For React component file names, use pascal case. For other cases, use snake case.
  • For React component variable names, use pascal case. For other cases, use camel case.
  • Refer to existing code if you are not sure

Quiz pool contribution guide

  • Sync answers with questions
  • Questions and answers are managed in JSON format. See the examples below:
    • Question (/src/static/json/python.json)
      {
          "Id": (Integer, problem number in ascending order)[Required],
          "Subject": (String)[Required],
          "Difficulty": (Integer, 0:Easy 1:Normal 2:Hard)[Required],
          "Question": (String)[Required],
          "Code": (String)[Optional],
          "Answers": (Array of String)[Required],
          "Reference": (String)[Optional]
      }
      
    • Answer (/src/static/json/python_answer.json)
      {
          "Id": (Integer, answer number in ascending order, must sync with question number)
          "Answer": (Integer, 0 ~ ...)
      }
      

Notice

For python quiz pool generation, we referred to the following web-sites.

python-level-challenge's People

Contributors

cshcomcom avatar daesungkiim avatar minsulee2 avatar pengin7384 avatar platfowner avatar vyvydkf628 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.