avatar42 / genspring Goto Github PK
View Code? Open in Web Editor NEWCreate a simple Spring boot app from a DB
License: Apache License 2.0
Create a simple Spring boot app from a DB
License: Apache License 2.0
Change all the sheet.* config properties to genSpring.* to eliminate dups and move config to methods in common base class.
Also use webjars to pull js and css files via Maven instead of checking into project.
Note generated html should go in targetProject\src\main\webapp\public and use layout fragment to maintain nav and site look. See sample downloaded tabs.
See Sheets2DB:Need to make some tables linked to users.
Moving to new linux workstation and making any needed changes to work,
Basically check for ?? on page loads to confirm no keys being used are missing from pages.
See https://stackoverflow.com/questions/17227110/how-do-datetime-values-work-in-sqlite
While adding search I found dates being stored as Integers (the way Sheets2DB was doing it in version 0.5.4 and before) was not always working correctly. For example 2020-01-02 00:00:00.0 night be returned as 2020.
Switching to the technically not supported DATETIME works with the exception that empty strings cause a parsing exception. So Sheets2DB will also convert empty strings to nulls. If using GenSpring on a SQLite DB storing dates some other way will require converting the DB manually.
default to USERID_COLUMN = "userId" used by Sheets2DB but be changeable. This also means GenSpring will determine is table contains user records (instead of common ones) by seeing the column in the table instead of looking at ".user" properties. This gets around the issue having tab, table and class names being different and having to do extra conversions to make those properties common.
pagination footer not showing on list pages
Place drop, create, and data insert SQL in files in the generated projects /Scripts folder
See Watchlist
Account.JsonIgnore=password
Account.unique=email
Add DB table columns in same order as the columns in the related sheet
See Sheets2DB addAccountTable() for example of construction. Then needs added to GenSpring when found.
Should gen basic README.md with screen shots gathered from regression tests.
As in Networks table on Watchlist app
See Sheet2DB.addAccountTable()
same as genSpringTest properties but the MySQL db connection
same as genSpringTest properties but the SQL Server db connection
With list page as the results.
genSpring.filteredTables=providers
Thinking a folder based on bundle name which is then copied to app folder without changes. For instance for static pages, custom tests or files not covered by GenSpring.
GenSpring tests created not matching right. Redo generation to not force id to be pk and treat mostly like any column.
For example the I get/use column in Networks or the Last watched IMDB ect columns in Shows in the Watchlist app.
Add better display for errors like 404s and headers to general page.
If unable to to talk to DB during app creation fail quickly.
Save image to testName + ".screenShot.png"
Change default to -1 for *.testCols and *.testRows when not found. Then change chkErr() to ship check if expected is -1
For instance a - in a date field will go into a SQLite DB but then generate an exception when Hibernate tries to read it from the DB later.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.