Create Ionic app feature with database API integration
$15-25 USD / hour
Suljettu
Julkaistu lähes 8 vuotta sitten
$15-25 USD / hour
Recap: This project is part of a larger app that is being built on Ionic using Angular to update the views and manage data. It’s a golf app that lets you keep track of the score while on a game. This feature is to add multiplayer tournament functionality, with the capability to create a new tournament, invite friends, store each players results and also see the results leaderboard.
Technical requirements: Wordpress, Buddypress, MySQL, PHP, Ionic, AngularJS, REST API
5 Ionic Views/Controllers
Tournaments
• Link to Create a tournament
• Retrieve all tournament for logged in user
• Classify each tournament into its category depending on status (invited, joined, played, created)
• Invited lets you change tournament status from invited to joined or delete tournament from your list
• Joined lets you play the tournament on selected date. When tournament is finished remove from joined and add to played
• Played links to each previous tournament scoreboard
• Created (tournament admin) lets you admin a tournament you created
• Link to create new tournament
Create a tournament
• Using JSON API User Plus plugin to retrieve user data, get a list of followers/friends and adding them to the tournament
• 9 input fields (fields listed in tournament table)
• Create button that puts data into 2 MySQL tables (one for tournament data and another one to store players data) then redirect to Tournaments View
• Edit button to update data in MySQL table
Tournament admin
• Tournament leaderboard link
• Edit tournament link (to Create a tournament with create button hidden and edit button visible)
• List of joined players
• Add more players shortcut
• Finish tournament to stop accepting new entries or the possibility to make changes
• Cancel tournament – to delete from database
Round (Modify to add tournament data to single round view/controller)
• The round view/controller is up and working but would need to adapt regular golf rounds to those that were also part of a tournament
• Autoset the date
• Identify which is the current tournament round and +1 when finish round if there are more rounds
• Add tournament name (or id) to the round view
• Add tournaments results to preexisting results, adding current round scores to the previous one.
Tournament results
• Get each tournament results and display them in a table
• Add on top of view tournament info such as total number of players, date, course, club (getting data from tournament table and players)
• Order players by score
• If 2 players are tied (i.e. both have 76 score), make sure that they have the right position. I.e. 4 players: A – 75, B- 75, C – 76, D – 72. Results would be: 1st – D, 2nd - A, 2nd - B, 4th - C
3 MySQL tables
Tournament table
• Tournament name/id
• Date
• Club
• Course
• Tee
• Format
• Num of holes
• Hole start
• Num. of rounds
Tournament players
• Tournament name/id
• Player name/id
• Tournament status (invited, joined, round 1, round 2…, played,
• Tournament admin (true/false)
Round results (update table)
• This table already exists but would need updating to add the tournament fields to assign to tournament results when required. Fields:
• Player name
• Holes Thru
• Gross Score
• Net Score
• Tournament name/id