https://github.com/jdlopez/sqlcrud
SQL automatic CRUD action+views library for Java applications
https://github.com/jdlopez/sqlcrud
crud-application database-management java webapp
Last synced: 6 months ago
JSON representation
SQL automatic CRUD action+views library for Java applications
- Host: GitHub
- URL: https://github.com/jdlopez/sqlcrud
- Owner: jdlopez
- License: mit
- Created: 2018-11-05T23:50:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-19T00:17:28.000Z (over 1 year ago)
- Last Synced: 2025-07-16T08:02:56.182Z (12 months ago)
- Topics: crud-application, database-management, java, webapp
- Language: Java
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://mvnrepository.com/artifact/io.github.jdlopez/sqlcrud)
# SQL CRUD
Very simple CRUD application. Servlet based, jar packaged. Could be embedded in larger applications
* C Create
* R Read
* U Update
* D Delete
[CRUD wikipedia](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete)
_Features:_
* Pre-build bootstrap-style application (very simple but fully functional)
* All CRUD operations available + listing. Select table then show table content listings. Edit or create rows
* Custom Query window. Could be disabeled
* Reports window. Configurable: sqls in database table or properties. Could be disableled
## Basic usage
Add maven dependency:
io.github.jdlopez
sqlcrud
${see-last-version-in-badge}
Add config: web.xml (actions) and cruddatabase.json
## Config
web.xml o java equivalent
* table filter or table list or prefix. All tables by default
* dataSource
* Access role (user in role?)
Example web.xml:
[web.xml in example](example/src/webapp/WEB-INF/web.xml)
Example json:
[cruddatabase.json in example](example/src/webapp/WEB-INF/cruddatabase.json)
## Building
If you want to build your own jar library:
In base project:
mvn install
To create sample database:
mvn sql:execute
In example project to test:
mvn jetty:run