Git Product home page Git Product logo

p4nd4p0w3r / f1-pitlanepredict Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25.91 MB

The topic of this project is a website that allows users to keep track of results during the 2023 F1 Championship. It isn't a complete website, but it is a good start for a project that could be continued in the future.

License: MIT License

HTML 0.20% Vue 76.56% CSS 1.83% TypeScript 21.40%
championship constructors drivers f1 f1-2023 formula1 teams 2023 budapest efrei l3 s5 essca semester-abroad

f1-pitlanepredict's Introduction

F1 Pit Lane Predict

S5M - Advanced Web Programming - Project

The topic of this project is a website that allows users to keep track of results during the 2023 F1 Championship. It isn't a complete website, but it is a good start for a project that could be continued in the future.

๐Ÿ“ƒ Table of Contents

About the project

We (Paul and Antoine) have been fans of Formula 1 for years and we just started to introduce Alexandre to this wonderful sport and universe. As big fans of Formula 1 since multiple years, we decided to create a project dedicated to this sport.

Note

  • This project falls into the scope of the Advanced Web Programming Course during our fifth semester, the study abroad semester while at ESSCA in Budapest, Hungary. More precisely during our third year curriculum at EFREI, which is a French CS engineering school.
  • This project has been realized in parallel with the UML Project. To access this project, please see the directory UML and read the README.md file for more information.

โ„น๏ธ Project Description

The focus of our project is to develop a dedicated online platform for Formula 1 fans, providing them with an opportunity to engage with the sport through an informational website. This platform aims to cater to the interests of Formula 1 fans by creating a space where they can explore the sport in a unique manner.

The project leverages a modern web development stack:

  • Backend: It utilizes Node.js with Nitro.unjs acting as a powerful Next Generation Server Toolkit and TypeScript for type safety. Prisma ORM simplifies database interactions with PostgreSQL.
  • Frontend: It's built with Vue.js for a reactive and component-based user interface, enhanced with CSS for styling.

๐Ÿ‘ฅ Team Members

Getting Started

โš™๏ธ Prerequisites

๐Ÿšฆ Run the Project

  1. Clone the repository:

    git clone https://github.com/P4ND4P0W3R/f1-pit-lane-predict.git
  2. Navigate to the project directory:

    cd f1-pit-lane-predict
  3. Install dependencies:

    npm install
  4. Start Client-side:

    npm run dev
  5. Start Server-side (in a new terminal):

    cd server
    npm run dev

Now you should be able to access the frontend application in your browser at http://localhost:5173.

๐Ÿ—‚๏ธ File Structure

  • server: Contains the backend code.
    • api: Contains the API logic.
    • drivers: Contains the logic for drivers.
    • races: Contains the logic for races.
    • results: Contains the logic for results.
    • teams: Contains the logic for teams.
    • user: Contains the logic for users.
  • src: The main source code for the Vue frontend application.
    • assets: Contains the assets of the application (images, fonts, etc.).
    • components: Contains the components of the application.
    • router: Contains the router logic.
    • views: Contains the views of the application.
  • public: Holds static files.
  • package.json: Defines frontend and backend dependencies and scripts.

๐Ÿ“ Additional Notes

  • IDE Setup: VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

  • Type Support: TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

  • Future Enhancements:

    • Robust Betting System: Implement a secure and engaging betting system, allowing users to place bets on race outcomes, driver performance, and other events. This could involve virtual currency, leaderboards, and reward systems.
    • Live Race Tracking: Integrate live race data to provide real-time updates on driver positions, lap times, and race incidents. Visualizations like live maps and timing charts would enhance the user experience.
    • Personalized Predictions: Develop a machine learning model to offer personalized race predictions based on historical data, driver performance, and user preferences.
    • Social Features: Enhance user engagement by integrating social features like chat rooms, forums, and the ability to share predictions and results with friends.
    • Expanded Content: Provide more in-depth content beyond race results, such as driver profiles, team histories, technical analysis, and news articles.
  • License: This project is licensed under the MIT License.

f1-pitlanepredict's People

Contributors

p4nd4p0w3r avatar antoined01 avatar alexforex 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.