const express = require('express'); const jwt = require('jsonwebtoken'); const bcrypt = require('bcryptjs'); const { check, validationResult } = require('express-validator'); const router = express.Router(); // User Model const User = require('./models/User'); // Register Route for Studio Owners router.post( '/register', [ check('email', 'Please include a valid email').isEmail(), check('password', 'Password is required').exists(), ], async (req, res) => { const errors = validationResult(req); if (!errors.isEmpty()) { return res.status(400).json({ errors: errors.array() }); } const { email, password, role } = req.body; try { let user = await User.findOne({ email }); if (user) { return res.status(400).json({ msg: 'User already exists' }); } user = new User({ email, password, role, // "Studio Owner", "Judge", etc. }); // Hash password before saving const salt = await bcrypt.genSalt(10); user.password = await bcrypt.hash(password, salt); await user.save(); // Generate JWT Token const payload = { user: { id: user.id, role: user.role, }, }; jwt.sign( payload, process.env.JWT_SECRET, { expiresIn: 3600 }, (err, token) => { if (err) throw err; res.json({ token }); } ); } catch (err) { console.error(err.message); res.status(500).send('Server error'); } } ); module.exports = router; AWARDS | Dance Nation Utah
top of page

AWARDS

SOLO AWARDS

  • Each solo routine will be awarded a trophy 

  • Each solo will be awarded a ranking based on the DANCE NATION RANKINGS

  • First place soloists will be awarded a tiara or cap (with 2 or more routines in a group)

  • Soloists who rank high elite gold or higher will be awarded a tiara when placed in a group without other competitors

DUET/TRIO AWARDS

  • All duets/trios will be awarded a trophy

  • Each duet/trio will be awarded a ranking based on the DANCE NATION RANKINGS

  • First place duets/trios will be awarded a tiara or cap (with 2 or more routines in a group)

  • All duets and trios that rank high elite gold or higher will be awarded a tiara when placed in a group without other competitors

ADDITIONAL SOLO/DUET/TRIO JUDGES AWARDS

  • Top 5 solos will be awarded an overall plaque in each age division

  • Overall high point soloists in each age division will be awarded a Dance Nation high point jacket, overall plaque, and special tiara

  • TOP 5 duets and trios will be awarded an overall plaque 

  • Overall high point duet or trio will be awarded a Dance Nation high point jacket, overall plaque, and special tiara

  • In each age category, judges award two routines in each of the following categories:        ​

    • BEST SHOWMANSHIP

    • BEST TECHNIQUE

    • BEST CHOREOGRAPHY

  • 5 highest scoring overall combined mini, petite, and junior soloists will be awarded a TOP 5 plaque as well as a high point jacket if recipient has not already been awarded one. 

  • 5 highest scoring overall combined teen and elite soloists will be awarded a TOP 5 plaque as well as a high point jacket if recipient has not already been awarded one. 

 

(Dancers will only be eligible for one jacket)

TEAM AWARDS

  • All qualifying studios will receive a large personalized team trophy

  • A plaque for displaying DANCE NATION RANKINGS for every routine competed 

  • All Productions will be awarded a personalized team trophy

  • Each team member will receive A Dance Nation Tank Top or T-shirt!

​

ADDITIONAL JUDGES AWARDS FOR STUDIOS​​

  • Two routines in each age category will be awarded judges choice awards

  • Highest scoring routines in each skill level will be awarded a plaque

  • Highest scoring routines in each age division will be awarded a plaque

​

ULTIMATE HIGH POINT AWARDS

  • Highest scoring soloist of the competition will be awarded a high point jacket along with an ULTIMATE HIGH POINT PLAQUE and trophy 

  • Highest scoring team routine of the competition will be awarded high point jackets along with an ULTIMATE HIGH POINT SWEEPSTAKES BANNER

bottom of page