$ git clone https://github.com/larissaevaldt/urlshortenerapp.git
$ cd urlshortenerapp
$ docker-compose up
Request Method | URI | Body (JSON) | Description |
---|---|---|---|
GET | http://localhost/api/v1/{code} | - | Retrieve original URL and redirect user to the correct Website |
POST | http://localhost/api/v1 | { "longUrl": "https://siteyouwant" } | Create a unique short URL and return it in the response body |
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Larissa Evaldt - https://www.linkedin.com/in/larissaevaldt/ - [email protected]
Project Link: https://github.com/larissaevaldt/urlshortenerapp