Skip to content

ArthurStep/ShortMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShortMe

Secure and Fast link shortener.

Architecture

Core Classes

  • ShortMeApplication: the main entry point of the Spring Boot application
  • LinkDB: the database entity model representing a shortened link
  • LinkDBrepo: the repository interface managing database operations for links
  • MainController: handle web requests and rendering the main user interface
  • LinkProcesses: REST controller handling the core API logic for link creation and redirection
  • RandomCodeService: generate unique random short codes for URLs
  • RedirectLinkService: manage the logic of finding original URLs and executing redirects
  • SetLinkService: handle the validation and creation of new short links in the database

Development

Project Structure

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

📄 License

This project is open source and available under the MIT License.

👨‍💻 Author

Arthur Stepanyan

Built with ☕ and lots of strategic thinking!

About

Private and secure link shorter

Topics

Resources

Stars

Watchers

Forks

Contributors