text: Using typescript, node, express and typeorm, create a server side app with authentication which has 3 models. The first is a User which has a name, email address and has many bets. The second is a Bet which has a name, description, quantity, belongs to 1 User with a reference to another User and has one Reward. The third is a Reward which has a name which belongs to a Bet. Show just the code.