Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
blaz-cerpnjak committed Mar 12, 2024
2 parents 371ee6b + 6465dad commit 171a3aa
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Run unit tests
on:
push:
branches: [ "main" ]
paths:
- '**/*'
- '!README.md'

jobs:
build-test-package:
Expand All @@ -15,7 +18,7 @@ jobs:
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-version: 7.0.6

- name: Set up JDK 21
uses: actions/setup-java@v3
Expand Down
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# food-ordering-services
Food ordering services example
# Food Ordering System 📱 🚙 🍕

### TODO:
- RestaurantsAPI
- OrdersProcessingAPI

## Overview
This project serves as an example of food ordering system using a microservice approach.

## UserManagementAPI
Simple microservice for managing users, built using Spring Boot and Kotlin.

### How to run

```console
~$ cd UserManagementAPI
~$ docker-compose up
```

UserManagementAPI will be avaiable on ```localhost:8080/api/v1```. Access Swagger ```http://localhost:8080/api/v1/swagger-ui/index.html```.

### Unit Tests
Before running unit tests, ensure that you have a local MongoDB instance running on ```localhost:27017```.

### Endpoints
- GET /api/v1/health
- GET /api/v1/users
- GET /api/v1/users/{id}
- PUT /api/v1/users/{id}
- DELETE /api/v1/users/{id}

0 comments on commit 171a3aa

Please sign in to comment.