What you will make by the end of the day

Step 1 - Create the Customer Acquisition Code

In order for other users to access our customer acquisition program, we're going to use repl.it to host our code and share the link to the console with our users.

  1. Create a new Repl.it project.

https://repl.it/

  1. Create a new Sheet (Tab) in your Copy of Flight Deals Google Sheet:

https://img-c.udemycdn.com/redactor/raw/2020-07-31_08-40-40-401ba39a85a03396815ab91f424b1430.png

  1. Add 3 new column headings - "First Name", "Last Name", "Email" to this new user Sheet:

https://img-c.udemycdn.com/redactor/raw/2020-07-31_08-48-37-29696c81c19d940d3095ee5edfd0129c.png

  1. Sync the new sheet in Sheety. Note: you might have to log in again to Sheety, also you'll need to re-check the PUT checkbox in the prices endpoint.

https://img-c.udemycdn.com/redactor/raw/2020-07-31_08-50-58-1f86bb6d0d0ef93b7d01b2c90cac8052.png

https://img-c.udemycdn.com/redactor/raw/2020-07-31_08-51-59-5b247f64f8d6dc8eafcbde5186786387.png

  1. Enable the POST method in the users endpoint:

https://img-c.udemycdn.com/redactor/raw/2020-07-31_08-53-31-36e37d981d1a8a342229ed1bdf4798fa.png

  1. Code up the Repl.it project so that it asks the user for their first name, last name and email. Make sure to get them to type their email twice for validation. If the two emails match, then tell them that they're in the club. e.g.

https://img-c.udemycdn.com/redactor/raw/2020-07-31_08-55-49-d7347d83209d369acf3476266c278e2c.png

  1. Use the Sheety API to POST the data that the user enters into the user sheet in your Copy of Flight Deals Google Sheet.