Skip to content

hemeda3/accelerator-initializer

 
 

Repository files navigation

Accelerator Initializer Build Status Codacy Badge

Accelerator Initializer is a service that exposes a simple HTTP interface to initialize project file and directory structures for new projects based on standard templates.

Vision

The intent of the Accelerator Initializer is to simplify the creation of standard and opinionated projects within an organization.

This provides value in a number of ways:

  • Reduces the time it takes for a developer to bootstrap and configure a project that adheres to specific guidelines
  • Allows organizations to improve compliance to particular standards through opinionated project configurations

Running the Application

Execute commands

./gradlew bootRun

Generating Projects

Once the application is running, either navigate to the Swagger UI in the browser:

http://localhost:8086/swagger-ui.html

Or: Use a tool to execute an HTTP POST request to

http://localhost:8086/api/project/generate

Including one of the following in the request body:

NodeJS Application

{
  "name": "node-app",
  "group": "scotiabank",
  "type": "NODE"
}

React Application

{
  "name": "react-app",
  "group": "scotiabank",
  "type": "REACT"
}

Java Spring Boot Application

{
  "name": "boot-app",
  "group": "scotiabank",
  "type": "JAVA_SPRING_BOOT"
}

Java Spring Boot 2 Application

{
  "name": "boot-app-2",
  "group": "com.scotiabank",
  "type": "JAVA_SPRING_BOOT_2"
}

Java Library

{
  "name": "java-lib",
  "group": "scotiabank",
  "type": "JAVA_LIBRARY"
}

To Run the Generated Project

Once you've downloaded one of the projects, navigate to the project directory and execute:

NodeJS Application

npm install
npm run build
npm start

React Application

npm install
npm start

Spring Boot Application

chmod +x gradlew
./gradlew bootRun

Feedback and Questions

Join us on Slack by requesting an invite

So... You've Found a Bug...

Before submitting an issue, please do a quick search through the issues to check if it may have already been submitted.

Once you've done that, go ahead and submit an issue. Please include:

  • The endpoint you were using
  • The HTTP method you were using
  • The request body you used
  • Any other details you think may be relevant

Need a Feature?

Either:

Submit a pull request yourself with the feature

  • Keep in mind that if the feature is out of the project's scope it may not be accepted

or:

Take a quick look through the Roadmap and list of issues, and see if it (or something similar) has already been requested.

If not, submit a new issue with a description of the desired feature to be reviewed and potentially prioritized.

Contribute

See our Contribution Guide

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.9%
  • Smarty 5.1%