Skip to content

apigovau/api-gov-au

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 2, 2022 12:11
March 2, 2022 12:17
December 3, 2019 07:57
src
March 2, 2022 12:17
April 24, 2019 03:19
January 17, 2018 09:51
January 17, 2018 09:51
May 29, 2020 15:20
March 2, 2022 12:11
March 14, 2019 10:58
January 17, 2018 09:51

api.gov.au

Makes it easier to discover electronic government services

Current Status

api.gov.au is under development. It is currently at the beta stage, a live version can be viewed at https://api.gov.au/

Technology

This service uses Kotlin, Spring Boot and is deployed to CloudFoundry.

Running Locally

You will need an instance of PostgreSQL running, for example here is how to run one with Docker:

# Clone git repo
git clone https://github.com/apigovau/api-gov-au.git
cd api-gov-au/

# Build it
gradle build

# Create a PostgreSQL instance
docker run --name api-gov-au-db -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres:9.6

# Run it
SPRING_PROFILES_ACTIVE=notprodordefault \
SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/postgres?user=postgres&password=mysecretpassword" \
BaseRepoURI=https://service-catalogue-repository.herokuapp.com/ \
    java -Xmx200m -Xss512k -jar build/libs/service-catalogue-1.0.jar

Your app should now be running on localhost:5000.

Deploying to CloudFoundry

cf push

Documentation

For more information about using Java and Kotlin on Heroku, see these Dev Center articles:

Reusing government tools

The prototype also uses the Australian Government Design System. If you want to make any significant changes to the styling, you'll need Node, NPM and Yarn.

Making contributions

To propose a change, you first need to create a GitHub account.

Once you're signed in, you can browse through the folders above and choose the content you're looking for. You should then see the content in Markdown form. Click the Edit icon in the top-right corner to start editing the content.

The content is written in the Markdown format. There's a guide here on how to get started with it.

You can preview your changes using the tabs at the top of the editor.

When you're happy with your change, make sure to create a pull request for it using the options at the bottom of the page. You'll need to write a short description of the changes you've made.

A pull request is a proposal for a change to the content. Other people can comment on the change and make suggestions. When your change has been reviewed, it will be "merged" - and it will appear immediately in the published content.

Take a look at this guide on GitHub about pull requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published