GithubHelp home page GithubHelp logo

noahtq / weekly_tournaments Goto Github PK

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

Fully featured website written for client. HTML, JS, and CSS frontend; Django backend; deployed to Linux server.

Python 30.41% CSS 27.94% HTML 37.28% JavaScript 4.37%

weekly_tournaments's Introduction

Weekly Tournaments - Client Website

Description

This is a fully functional website I made for a client a while back. The client was running weekly basketball tournaments for the Summer and they needed a website where customers could see information about the tournaments, sign-up for tournaments, put together a team with their friends, and pay for the tournament.

Technology

Languages/Frameworks

  • Django Backend (Python)
  • HTML, JS, CSS Frontend
  • Deployed to a Linux Server with Linode and Apache

Features

  • Responsive frontend. Website automatically resizes to fit and work well on any device/screen size/browser
  • User login/logout/registration
  • Custom staff-only frontend for client so they could setup and edit tournaments easily and quickly
  • Integration with PayPal so users can safely and securely pay for events
  • Ability for users to create their own team for each tournament. They can look up their teammates and send a request to their teammates to join the team
  • Encrypted with HTTPS

weekly_tournaments's People

Contributors

noahtq avatar

Watchers

 avatar

weekly_tournaments's Issues

Update Event model to have more info on tournament

Description

  • Update the Event model to include more info on tournament so it is easy for Will to update as he desires

Details

Definitely add these

  1. Add price field
  2. Add status field (this should update automatically the day after the tournament takes place)
  3. Add maximum users

Other ideas

  1. Add stats field (overall tournaments stats, player stats would be assigned to the User model)
  2. Add teams field (would need to create separate model for Teams)
  3. Add information about how tournament played out

Potential security issue on Event Registration page

Description

  • Navigate to the event registration page: /event//register

  • Currently to register someone for the event we using an UpdateForm Class Based View

  • We use a JS script to select the user we want to be added to the registration and then we hide we the input

  • The issue is that an attacker could use inspect element or another method to edit the html to deselect and select whoever they wish and then submit the form.

Cap the number of users that can register for event

Description

  1. Add the maximum users field for the Event model
  2. On details page and/or registration page add a display for the number of spots left
  3. Make it so the registartion page is no accessible if event is full
  4. Make it so the register button is disabled if event is full

Informational emails

Setup website to send informational emails to users

Examples

  1. Send an email to users after they register confirming their registration
  2. Send an email to users after they sign up for the tournament so they have proof they successfully signed up
  3. Send reminder emails to users about when the tournament will take place and such
  4. Once teams are finalized send teams list to all registered users for tournament

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.