Connect a database to your api
Today will be an experiment in what's called pair programing: where you the class and myself will pair program to build a simple API for bit.ly. I will post the code we come up with in the class examples folder
We will build an api with two endpoints that does the following:
- Create a database and a table in our database
- Add a new link to our table
- Return all of the links created
- The input is the short url
- The output is the long url