Skip to content

Backend: This project was designed to create an API in Java that allows mobile clients to retrieve and add suburb and postcode combinations.

Notifications You must be signed in to change notification settings

marcelamejiao/Postcode-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postcode-API

💻 Frontend: Click here!

Table of Contents

Description

This project was designed to create an API in Java that allows mobile clients to retrieve and add suburb and postcode combinations.
This API allows mobile clients to retrieve the suburb information by postcode.
This API allows mobile clients to retrieve a postcode given a suburb name.
A secured API to add new suburb and postcode combinations.

My experience

I found this project a good opportunity to continuing practising the Spring framework and the backend testing using the Spring boot testing.

A new tool that this project provided me was how to create new methods inside the repository interface to use them in the service layer and being able to implement these methods by finding a suburb with a query parameter such as name or postcode.

To make this application secured and being able to get access to each endpoint I implemented the Basic Spring Authentication. This implementation provides a password in the console that I could use inside Postman or the login page that Spring provides with the URL: http://localhost:8080/login.

login login

Usage

Using Eclipse, IntelliJ or a bash terminal/console, run/execute the Main class. 

Technologies Used

  • Java
  • Spring
  • Spring Boot Test
  • Postman

Preview

  • Get a Suburb by name

suburb-by-name

  • Get a Suburb by postcode

suburb-by-name

Deployed link

💡 Live version: Click here!

Future Development

  • Build a frontend with React. Done

Questions

About

Backend: This project was designed to create an API in Java that allows mobile clients to retrieve and add suburb and postcode combinations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published