Secure and Fast link shortener.
ShortMeApplication: the main entry point of the Spring Boot applicationLinkDB: the database entity model representing a shortened linkLinkDBrepo: the repository interface managing database operations for linksMainController: handle web requests and rendering the main user interfaceLinkProcesses: REST controller handling the core API logic for link creation and redirectionRandomCodeService: generate unique random short codes for URLsRedirectLinkService: manage the logic of finding original URLs and executing redirectsSetLinkService: handle the validation and creation of new short links in the database
src/main/java/main/artfix/shortme/
├── ShortMeApplication.java # Main entry point of the application
├── controllers/
│ ├── MainController.java # Handle main web pages
│ └── LinkProcesses.java # Handle link API endpoints
├── models/
│ └── LinkDB.java # Handle database entity for links
├── repos/
│ └── LinkDBrepo.java # Database operations interface
└── services/
├── RandomCodeService.java # Generate random short codes
├── RedirectLinkService.java # Handle link redirection logic
└── SetLinkService.java # Handle link creation logic
This project is open source and available under the MIT License.
Arthur Stepanyan
- GitHub: ArthurStep
- Version: 1.3
Built with ☕ and lots of strategic thinking!