Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blaz-cerpnjak/food-ordering-services
📱 🚙 🍕 Food ordering services with API gateway example [Spring Boot, Quarkus, Kotlin, Go Playground]
https://github.com/blaz-cerpnjak/food-ordering-services
api-gateway food-delivery food-delivery-service food-ordering golang grpc grpc-server java kotlin microfrontends microservices microservices-architecture quarkus react reactive reactive-rest-services spring-boot user-service
Last synced: 21 days ago
JSON representation
📱 🚙 🍕 Food ordering services with API gateway example [Spring Boot, Quarkus, Kotlin, Go Playground]
- Host: GitHub
- URL: https://github.com/blaz-cerpnjak/food-ordering-services
- Owner: blaz-cerpnjak
- Created: 2024-03-06T06:28:26.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-17T17:18:21.000Z (7 months ago)
- Last Synced: 2024-04-18T16:30:00.953Z (7 months ago)
- Topics: api-gateway, food-delivery, food-delivery-service, food-ordering, golang, grpc, grpc-server, java, kotlin, microfrontends, microservices, microservices-architecture, quarkus, react, reactive, reactive-rest-services, spring-boot, user-service
- Language: Go
- Homepage:
- Size: 3.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Food Ordering System 📱 🚙 🍕
## Overview
This project serves as an example of food ordering system using a microservice approach.## User Management API [REST]
Simple REST API for managing users, built using Spring Boot and Kotlin.### How to run
```console
~$ cd UserManagementAPI
~$ docker-compose up
```User Management API 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}## Order Processing API [gRPC]
Simple gRPC API for managing users, built using Quarkus and Kotlin.### How to run
```console
~$ cd OrderProcessingAPI
~$ docker-compose up
```Order Processing gRPC API will be avaiable on ```grpc://localhost:9000```.
### Unit Tests
Before running unit tests, ensure that you have a local MongoDB instance running on ```localhost:27017```.### Available gRPC Methods
```
service OrderService {
rpc CreateOrder (Order) returns (Confirmation) {}
rpc GetOrder (GetOrderRequest) returns (Order) {}
rpc UpdateOrder (Order) returns (Confirmation) {}
rpc GetOrdersBySeller (GetOrdersRequest) returns (stream Order) {}
rpc GetOrdersByDeliveryPerson (GetOrdersRequest) returns (stream Order) {}
rpc DeleteOrder (DeleteOrderRequest) returns (Confirmation) {}
rpc Health (Empty) returns (Confirmation) {}
}
```## Restaurant Management API [Reactive REST]
Reactive REST api with reactive mongo db### How to run
```console
~$ cd RestaurantManagementAPI
~$ docker-compose up
```Restaurant Management REST API will be avaiable on ```grpc://localhost:8080```.
### Unit Tests
Before running unit tests, ensure that you have a local MongoDB instance running on ```localhost:27017```.