Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

SU-CS308-22FA/TEAM-12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REFSTA

Description:

REFSTA is a website which keeps track of matches, referees and their statistics. In the website referees' performances get evaluated with the use of statistics and the with the contribution of the users who support different teams.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts for the Project

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open https://web-production-d907.up.railway.app/ to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

How to Run the Project

  • Open up 2 terminals.
  • Get inside of the server folder in one of the terminals.
  • Run the command npm start
  • Get inside of the client folder in the other terminal.
  • Run the command npm start

How to Obtain the Source Code

Source code can be directly obtained by using the command git clone .

File Structure

Project contains two main folders:

  • Server - The folder for backend.
  • Client - The folder for frontend.

The structure of Server Folder:

  • controllers -> contains the comment function
  • models -> contains the mongoose models
  • routers -> contains the implementations of the CRUD operations

The Structure of the Client Folder:

  • src -> contains the main files that were used while coding the frontend of the website
  • components -> includes the comment section functionality and the header of the website
  • screens -> contains the implementations of all the screens of the website
  • axios -> contains the folders that send HTTP requests to the backend

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •