ShortURL Service is a web application that allows users to shorten long URLs into more manageable and shareable links.
- Shortening URLs: Users can shorten long URLs into shorter, more manageable links.
- User Management: Authentication and authorization functionalities for managing users and their URLs.
- Background Deletion: Automatic background deletion of expired or unused URLs.
- #TODO: add more features
The ShortURL Service is built using the following technologies and architectural components:
- Backend Language: Go (Golang)
- Database: PostgreSQL
- Storage Options: Supports in-memory, file-based, and PostgreSQL storage for URLs data.
- Web Framework: Go-Chi for handling HTTP requests and routing.
- Background Processing: Uses goroutines for background deletion of URLs.
To run the ShortURL Service locally, follow these steps:
- Clone this repository to your local machine.
- Install Go and PostgreSQL if you haven't already.
- ...
#TODO: add more setup details
Once the ShortURL Service is running, you can use it as follows:
- Use the provided APIs to programmatically interact with the service.
- ...
#TODO: add more usage details
#TODO: implement Swagger support
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.