-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
2 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ name: Run unit tests | |
on: | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- '**/*' | ||
- '!README.md' | ||
|
||
jobs: | ||
build-test-package: | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |