-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create API Backend Skeleton #280
Conversation
TODO: Write Migrations TODO: Sort out auto generation of timestamps TODO: Relationships aren't set up properly
Created Upload Repository
//base 64 image | ||
private String templateImage; | ||
//json array | ||
private String shapes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@column(columnDefinition = "jsonb") for explicit native JSON Storage in PostgreSQL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zedd and I discussed this, stuck with String until such a time as we have a reason to change it. His primary concern was that jsonb
columns will force a check that it's valid JSON and we may not need this. I have a hunch that it's something we'll end up wanting but that can be a migration when we need it (likely in #266) rather than have to sort it all out ahead of time.
|
||
import java.util.UUID; | ||
|
||
public interface UploadRepository extends JpaRepository<Upload, UUID> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* adding backend skeleton * use uuid for id * remove unused sequence * Pass at moving the models outlined in dev meeting into SpringBoot TODO: Write Migrations TODO: Sort out auto generation of timestamps TODO: Relationships aren't set up properly * update ids to UUID * added liquibase migration * added liquibase migration * Added some TODO items based on discussion with Arin Created Upload Repository --------- Co-authored-by: Andrew Schreiber <[email protected]>
* Add box to currently editing field * Add box highlighting currently edited field * fix(285): Fix sidenav width and nav links (#295) * Create API Backend Skeleton (#280) * adding backend skeleton * use uuid for id * remove unused sequence * Pass at moving the models outlined in dev meeting into SpringBoot TODO: Write Migrations TODO: Sort out auto generation of timestamps TODO: Relationships aren't set up properly * update ids to UUID * added liquibase migration * added liquibase migration * Added some TODO items based on discussion with Arin Created Upload Repository --------- Co-authored-by: Andrew Schreiber <[email protected]> * Add box to currently editing field --------- Co-authored-by: knguyenrise8 <[email protected]> Co-authored-by: Zedd Shmais <[email protected]>
Description
Creates the backend skeleton for the API
Screenshots (if applicable)
N/A (it's a JSON API)
Related Issues
#260
Checklist