Skip to content

Page with thousands of data on teams and leagues related to sports. [Full Stack project: React, SQL, Express, Node.js].

Notifications You must be signed in to change notification settings

ASASauqui/Sport-Center-Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sport Center Page (in process of restructuring⌛)

Sport Center is a page dedicated to the collection of information on teams and leagues from around the world related to sport.

Used technologies

It is a Full Stack project made with:

Programming Languages Front-End Development Back-End Development Database Data Recollection

Demo (not available yet)

Currently there is no live visualization, since it is planned to migrate the database to MongoDB and make a modification to the Front-End to improve the view, which is currently very basic. As well as switching from JavaScript to TypeScript.

Installation and running (local)

It would also be necessary to download the database, but as already said, the entire project is being restructured so that data consumption is done on a server already deployed.

1. Clone the repository

git clone <url>

2. Server Installation

A command window should be opened inside the "sports_app_server" folder and the following commands are entered:

npm install
nodemon server.js

3. Client Installation

A command window should be opened inside the "sports_app_client" folder and the following commands are entered:

npm install
npm start

"More about creating the database" folder explanation

"More about creating the database", is a folder that contains information and Python code on how the information in the database was collected and manipulated. Inside this folder, there are 5 other folders.

  1. Diagram E-R: There is only one image of the diagram of the database entities, their attributes and relationships.
  2. Diagram BD: There is only one image, which is the same database diagram from the previous folder, but now in the format given by MSSQL (something more professional).
  3. Data Collection Codes: All the data was extracted from an API, and within this folder are all the codes made in Python to massively collect this data and store it in .CSV files for later migration to MSSQL. In folder 1 are all the calls to the APIs plus some modifications, since the information was very disorganized and a way to solve these problems had to be found. In folder 2, from the data already placed in .CSV, it was simply decided to further clean the information, put it in the proper format and create a new .CSV ready for migration to MSSQL.
  4. Database Creation Scripts: Here is the code that was used for the creation of the database structure in MSSQL.
  5. Database Insert Scripts: As previously said, once the .CSV files were made with all the necessary information, they were migrated to MSSQL, and from there they were inserted into the structures made previously so that it would be perfect, here is the code of the inserts.

This part was the most complicated of the entire project, since the API, despite having thousands of data, had disorganized data, without uniform format, etc. In total it took about 3 weeks to clean all the information and make it usable for the project, new IDs, new relationships had to be created, names changed to a standard format, etc., very hard work.

Notes

This repository is an extension of the original repositories, which can be found at the following links:

  1. https://github.com/AlanNoSauqui/sports_app_client
  2. https://github.com/AlanNoSauqui/sports_app_server

About

Page with thousands of data on teams and leagues related to sports. [Full Stack project: React, SQL, Express, Node.js].

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors