Skip to content

jackaholy/SpeedTyping

Repository files navigation

SpeedTyping

SpeedTyping is a competitive typing test targeted for ages 12-21 that provides new vocabulary and compelling stories in an engaging learning enviroment. SpeedTyping utilizes SpringBoot and JPA on the backend and Bootstrap on the frontend.

image (2) Image 11-18-24 at 11 29 AM

Application Setup

Prerequisites

  1. Install MySQL on your computer if you haven't already.
https://dev.mysql.com/downloads/mysql/

Select the proper download file for your operating system using the dropdown menu. For macOS , make sure to select the (ARM, 64-bit) download. For Intel-based Macs, make sure to select (x84, 64-bit).

  1. Download Java 21 on your computer if you haven't already.
https://www.oracle.com/java/technologies/downloads/
  1. Clone our GitHub Repository onto your machine.
git clone https://github.com/jackaholy/SpeedTyping

Database Setup

  1. Create a database in MySQL (adjust name, user, and password as needed):

Login to mysql (configure password if not done so already)

mysql -u root -p

Create the database

CREATE DATABASE SpeedTypingDB;
USE SpeedTypingDB;
  1. Source the population file from the project’s root directory:
mysql -u root -p SpeedTypingDB < src/main/resources/levelData/CreateLevels.sql

Or within the MySQL prompt:

SOURCE src/main/resources/levelData/CreateLevels.sql;
  1. Verify the tables and data by running
SELECT * FROM level;

There should be 30 rows in the 'level' table.

Run the Application

Now that you have everything installed, you are ready to run our program.

  1. Navigate to the root directory where your project is stored.
  2. Run the program through the terminal using the following command:
./gradlew bootrun
  1. Navigate to the browser of your choice and open the following website:
http://localhost:8080/
  1. You're all set, get typing!

Developer Guide

Running Unit Tests

  1. Open up the Terminal Command Prompt within your IDE.
  2. Run:
./gradlew test

All of the tests created for our program will run and display whether they are successful or not.

Accessing External Documentation

In the top level directory you will find the 'externalDocumentation' folder. Within it you will find our plans, gantt chart, ERD, and flowchart.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors