this app will be https://bitly.com/ clone .
Short url is a way to count the number of hits per URL, we should save the original URL and redirect to the original URL .
Implement web-application, consists of:
- Admin part: /admin
- list of the current short urls
- option to edit a short URL
- option to insert a short URL
- option to delete a short URL
- Redirect page - should check for the url id, increment the counter and redirect to the original URL
- http://localhost/admin - should display the admin panel
- http://localhost/redirect/123 - should redirect to the original link for short id #123, 404 for not found urls
- GET http://localhost/api/123 - get url #123 - json format
- POST http://localhost/api - insert new url
- PUT http://localhost/api/123 - edit url #123
- DELETE http://localhost/api/123 - edit url #123
- the api can be done with any backend technology (php, node.js, ...)
- the client can be done with any client side technology/framework (react, angular, vue.js, ...)
- a docker image for the project will be big advantage!
- link to a public repo with the source code
- the source code should contain .sql file with the DB scheme for SQL databases
- the source code should contain both the server and client code
- readme file with instructions how to run the project