Giter Club home page Giter Club logo

g1practice-frontend's Introduction

Practice For Ontario G1 Test: Frontend

This program is the frontend component of the Practice For Ontario G1 Test project. It works with the Practice For Ontario G1 Test: Backend developed with Spring Boot and MySQL.

Overview

This program helps you keep track of your progress in preparation for Ontario G1 test. You need to buy the Ontario Driver's Study Guide (cover shown in the following figure) in order to access the test questions. Cover of Ontario Driver's Study Guide

The web page looks like the following figure. You answer each question by choosing one of the four chioces A, B, C, D. After you click the submit button, the pass rate and the number of attempts for this quesiton are updated immediately. The history of attempts is stored in your local MySQL database and therefore persists through program restarts. sample webpage

Build

Dependency: Node.js

Node.js is required to build the program. See How to install Node.js if you do not have it.

Change into the root directory and run

npm install

to resolve other dependencies.

Build React.js with Vite

Run the following command

npm run build

Then you will find a directory dist created in the root directory.

Run

You need to run the backend program before this frontend program. See the link for instructions on how to run the backend program.

While the backend is running, run the following command

npx vite

and then go to the link http://localhost:5173 in your browser.

g1practice-frontend's People

Contributors

joejeye 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.