Skip to content

makingsensetraining/grails-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grails with react base application

Prerequisites

Install java

  • Ubuntu

  • Windows

  • sudo apt-get update

  • sudo apt-get install default-jre

  • sudo apt-get install default-jdk

  • sudo add-apt-repository ppa:webupd8team/java

  • sudo apt-get update

  • sudo apt-get install oracle-java8-installer

Install gradle

  • Ubuntu, Windows

  • $ sdk install gradle 4.9

  • $ export PATH=$PATH:/opt/gradle/gradle-4.9/bin

Install grails

  • Ubuntu, Windows

  • $ curl -s "https://get.sdkman.io" | bash

  • $ source "$HOME/.sdkman/bin/sdkman-init.sh"

  • $ sdk install grails

  • $ sdk install grails 3.2.4

  • $ grails --version

Documentation

Grails React

You can create your base application with the cli command from grails, you have the next profiles availables.

  • $ grails list-profiles

| Available Profiles

  • angular - A profile for creating applications using AngularJS
  • rest-api - Profile for REST API applications
  • base - The base profile extended by other profiles
  • angular2 - A profile for creating Grails applications with Angular 2
  • plugin - Profile for plugins designed to work across all profiles
  • profile - A profile for creating new Grails profiles
  • react - A profile for creating Grails applications with a React frontend
  • rest-api-plugin - Profile for REST API plugins
  • web - Profile for Web applications
  • web-plugin - Profile for Plugins designed for Web applications
  • webpack - A profile for creating applications with node-based frontends using webpack

Create your application with profile

  • grails create-app myApp -profile rest-api

Start application

  • You can start your client with the command ./gradlew client:start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published