Comments (5)
some useful curl commands to play around with backend:
- Adding item into basket:
curl --location 'localhost:8080/basket/api/v1/items' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"customer_id": "dfdee7b6-04d3-4d77-89a9-6542a4f2f31a",
"items": [
{
"food_id": 20,
"food_name": "Cafe Latte",
"old_unit_price": 0,
"picture": "/catalog/pictures/20.jpg",
"quantity": 11,
"unit_price": 6
}
]
}'
- User checkout flow for placing the Order:
curl --location 'localhost:8080/checkout/api/v1/checkout' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"address": {
"city": "Test city",
"country": "TEST",
"state": "Test state",
"street_address": "Test Street XXX",
"zip_code": 99892
},
"credit_card": {
"credit_card_cvv": 971,
"credit_card_expiration_month": 9,
"credit_card_expiration_year": 2023,
"credit_card_number": "4111111111111111"
},
"customer_id": "dfdee7b6-04d3-4d77-89a9-6542a4f2f31a",
"email": "[email protected]",
"user_currency": "USD"
}'
from restaurant-app.
Hi @jurabek ,
I can take a look at the mobile part and migrate it from Xamarin to .NET MAUI.
I tried to run the backend locally, but it looks like there are things missing
docker-compose-up.sh
services/menu.api
Can you help a hand?
from restaurant-app.
Hi @tuyen-vuduc
can you try to pull latest and run I think due to new docker-compose changes it is broken.
also you can run following:
cd Restaurant-App/src/backend
docker-compose -f docker/docker-compose.yml -f docker/docker-compose.override.yml \
-f docker/docker-compose.traefik.yml \
-f docker/docker-compose.kafka.yml \
-f docker/docker-compose.grafana.yaml \
-f docker/docker-compose.otel.yml --project-directory . up -d --build
from restaurant-app.
Why not move the mobile app to React Native or Flutter ?
from restaurant-app.
I think we can add another solution to have those technologies' implementations as well.
For now, we can leverage what we currently have and upgrade.
from restaurant-app.
Related Issues (20)
- Checkout MinIO to upload images HOT 1
- Fix code scanning alert - Clear-text logging of sensitive information
- Hello
- Move Checkout logic into own microservices
- Add Buf CLI for managing protos HOT 1
- docker-compose-up.sh is missing HOT 1
- Fix the react-web app HOT 1
- BUG: Redesign basket/cart functionality
- Mark cart completed when Order is finished and filter out carts when retrieving
- Implement GetPayementMethods in payment-api
- Use LLaMA for creating catalog items (names, descriptions)
- Use Midjourney to generate catalog item images
- Replace IdentityServer4 into Open source version of logto.io
- Remove Ingress Controller, support only Istio Ingress Gateway HOT 1
- Too simple UI of the mobile app HOT 1
- Bazel support HOT 1
- Migrate Ingress Gateway to k8s Gateway and Routes HOT 1
- Docker-compose basket-api HOT 1
- Fix code scanning alert - Log entries created from user input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restaurant-app.