This project consists in an API integrated to AusPost to check if the Suburb name is valid or to check if the postcode is valid
Stack:
- ReactJs
- ExpressJs
- Jest
- Parcel
- Github Actions
- Others
After cloning this repository, run:
npm install
Using Jest as testing framework.
npm test
npm run test:watch
- In order to be able to use the AusPostAPI is need to setup the AUTH_KEY as an enviroment variable.
To do that simply add a file called .env to the root's project and set the key to the variable.
Example: AUTH_KEY='Here goes your api key'
For this action the application is using concurrently.
Run:
npm run dev
This command allows the user to run the server and client in one script only.
After this command simply open your browser on this path