Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
/ code-clipboard Public archive

Code database implementation (SpringBoot and JPA Hibernate)

Notifications You must be signed in to change notification settings

al3xkras/code-clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code clipboard

A simple code storage that allows user to submit, store and efficiently query code samples.

The clipboard provides methods for querying samples by programming language, a set of tags assigned to the code, code substrings, and any possible combinations of the given options. <style> ul { margin: 0; } ul.dashed { list-style-type: none; } ul.dashed > li { text-indent: -5px; margin-top: 10px; } ul > li{ margin-top: 10px; } ul.dashed > li:before { content: "-"; text-indent: -5px; } </style>

Available Spring profiles:

  • hibernate: Enable JPA Hibernate Code repository implementation
  • suffixtree: Use an alternative code repository based on the GeneralizedSuffixTree (see https://github.com/abahgat/suffixtree)
  • default: Default Spring profile

Application endpoints:

  • (GET) $host name$/ : Index webpage
  • (GET) $host name$/search : Search (code) webpage
  • (GET) $host name$/submit : Submit (code) webpage
  • (POST) $host name$/send-code : Send a new Code sample in JSON format
  • (POST) $host name$/search : Search for code samples by specified parameters
  • (POST) $host name$/quit : Kill application server

Preview:

rec1_1.mp4

About

Code database implementation (SpringBoot and JPA Hibernate)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published