Skip to content

Java cli tool to scaffold project from database schema, based on template

Notifications You must be signed in to change notification settings

mendrika261/S5-Scaffolding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview 🔮

Java CLI tool to scaffold a project with full CRUD from a database schema. It is based on a template, so you can customize and extend it with any language you want.

🎉 It works now with my web framework and unidao

overview.mp4

Already built 🛠️

  • Postgres, Mysql database syntax
  • My framework 👉 See here
  • Spring Rest
  • Angular standalone app
  • ... template and class YOU can override

How to use 🚀

  1. Download the zip file from the release and extract
  2. Change the config.json file to match your database configuration
...
  "databases": {
    "default": {
      "provider": "postgresql",
      "host": "localhost",
      "port": "5432",
      "database": "test",
      "user": "mendrika261",
      "password": ""
    }
  },
...
  1. (Optional) Change files in the templates folder to match your needs
  2. Run the jar file with the following command and follow the instructions
java -jar scaffolding.jar

How to build 🏗️

  1. Clone the repository
  2. Run the following command
mvn clean package
  1. The jar file will be in the target folder
  2. Follow the instructions in the How to use 2 section

About

Java cli tool to scaffold project from database schema, based on template

Topics

Resources

Stars

Watchers

Forks

Languages