PapiHack / devfest-dakar-2022-demo-app

Demo application for my talk on DevFest Dakar 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ DevFest Dakar 2022 - Demo App πŸš€

Devfest-2022

Made-In-Senegal
Issues PR Java spring-boot MIT licensed Open Source Love

This repo contains the application code of my demo at DevFest Dakar 2022 on Continuous Deployment and GitOps in Kubernetes with ArgoCD.
The application is basically a REST API built with Spring Boot driven by a simple architecture.

Technical Stack

  • Java
  • Spring Boot

Prerequisites

You need Java (JDK) and Maven installed on your system.

Usage

You have two ways to set up this project :

Manual Setup

After cloning the project:

  • Edit the src/main/resources/application.yaml file if you want

  • Go to the root of the project, open a terminal then do ./mvnw clean

  • Still at the root of the project, start the server with ./mvnw spring-boot:run

  • Then go to your browser at: http://localhost:8080/devfest-demo/docs 😊

Docker Setup

After cloning the project:

  • Run the following command in order to build a docker image
docker build -t devfest-dakar-demo-app:prod-2002-01 .
  • Run the following command in order run a container
docker run -d -p 8080:8080 --name devfest-dakar-demo-app devfest-dakar-demo-app:prod-2002-01

API Documentation

screenshot

Contributing

Feel free to make a PR or report an issue πŸ˜ƒ

Oh, one more thing, please do not forget to put a description when you make your PR πŸ™‚

Author

About

Demo application for my talk on DevFest Dakar 2022

License:MIT License


Languages

Language:Java 98.5%Language:Dockerfile 1.5%