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.
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
Execute commands
./gradlew bootRun
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:
{
"name": "node-app",
"group": "scotiabank",
"type": "NODE"
}
{
"name": "react-app",
"group": "scotiabank",
"type": "REACT"
}
{
"name": "boot-app",
"group": "scotiabank",
"type": "JAVA_SPRING_BOOT"
}
{
"name": "boot-app-2",
"group": "com.scotiabank",
"type": "JAVA_SPRING_BOOT_2"
}
{
"name": "java-lib",
"group": "scotiabank",
"type": "JAVA_LIBRARY"
}
Once you've downloaded one of the projects, navigate to the project directory and execute:
npm install
npm run build
npm start
npm install
npm start
chmod +x gradlew
./gradlew bootRun
Join us on Slack by requesting an invite
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
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.
See our Contribution Guide