Skip to content

fajarcandraaa/pizza_hub

Repository files navigation

pizza_hub

About The Project

This is a simple app to implement time.sleep and waitgroup to handle concurency in golang, with back story is Pizza Hub 😄

Built With

This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

And supporting tools to easy managing redis caching like :

Getting Started

Before we get started, it's important to know that before you run this code you have to make sure that Redis is already exist and ready to run on your device. Than this code use a custom command to execute it with makefile to make more simple command like :

  1. make update
  2. make tidy
  3. make start

So, let start it.

  1. After clone this repository, just run make update.
  2. Setup your .env file such as database connection and redis connection based on default setting on you device.
  3. To make sure that all dependency is run well, than run make tidy.
  4. Finally, you can run your project with command: make start.
  5. Go to postman and set url like http://localhost:8080/, for information that port to run this project depend on configuratin on .env

And for additional information, i'm alredy setup unit-testing, just run make test-service.

Documentation

Here is more information on the process flow and API Contract documentation:

POSTMAN API COLLECTION AND API CONTRACT

Afterword

Hopefully, it can be easily understood and useful. Thank you~

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages