Skip to content

arjangch/grails-project-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grails-project-helper

Purpose of this project is to help Grails bigginer. To show developer tips and tricks, plugin implementation, internal commands, config files, etc.

Grails 7.0.0-M1 Documentation


Feature asset-pipeline-grails documentation

Feature geb-with-testcontainers documentation

Feature scaffolding documentation

Minimum System Requirements

These projects are built with Grails 7 but sometime I will explain how it is done in older versions.

Tech Version
Java 17
gradle 8
groovy 4
Grails 7

Install Grails

The easiest way to setup Grails in your local environment is by using sdkamn. Then add the file ".sdkmanrc" in every root directory of a project. Every time entering the directory it will load tech stack listed in .sdkman. Essentially you can run multiple different versions in the same local environment. For example this .sdkmanrc

# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=17.0.13-zulu
gradle=8.10.2
groovy=4.0.24
grails=7.0.0-M1

Examples

Examples are divided into different grails projects. Developers intention should be to learn from examples. Study the code and copy them to their own project. Examples may not be runnable.

  • Example1: Basic Grails tips and tricks.
  • Example2: DataSources.
  • Example3: Create REST API.
  • Example4: Consume REST API. Example include connecting to Netsuite and Salesforce.