A very basic link shortener using the Bitly API.
- Clone from GitHub
cd
into directory- Run
npm start
Link to the Bitly docs: https://dev.bitly.com/
It's written in JavaScript, but this is not ideal. It should be typed (TypeScript). For example, the component state (i.e. 'typing'/'error'/'success') could utilize a union type.
- UI elements and user interactions
- "Happy path", mocking fetch