Updated readme
This commit is contained in:
34
README.md
34
README.md
@@ -1,28 +1,18 @@
|
||||
# Alpine bits
|
||||
# Übersicht
|
||||
|
||||
Hour alpine bits application needs to mostly act as a server. It needs to provide room reservation information to the ASA alpinebits client at the hotel.
|
||||
|
||||
However in other things we act could potentially act as the client with ASA acting as the alpinebits server. Basically according to the documentation the whole thing depends on who is requesting information and who has it.
|
||||
|
||||
When ASA wants to know our GuestRequests from the Landing page then they are the client and we the server. This causes some problems because our system actually knows less than the hotel system. We can't easiliy add Room Rate information and publish a reservation to ASA because we don't actually know the rooms.
|
||||
|
||||
Just for GuestRequests this should be fine however.
|
||||
Enthält einen in Python geschriebenen Alpine Bits Server zur Übertragung von Buchungsanfragen von Landingpages an Partnerhotels. Ein Fastapi Endpoint empfängt Anfrageformulare von den wix.com landingpages, und speichert sie in die Datenbank ab. Der Alpine Bits Server stellt diese dann Hotels auf dem Endpoint `www.99tales.net/api/alpinebits/server-2024-10` zu Verfügung.
|
||||
|
||||
|
||||
## Entwicklung
|
||||
|
||||
# Wix formular parsing Notizen
|
||||
|
||||
|
||||
### Kontaktinformationen
|
||||
|
||||
|
||||
|
||||
#### Werbeparameter
|
||||
|
||||
|
||||
|
||||
|
||||
field:angebot_auswaehlen -> Kommentar mit Angebot
|
||||
|
||||
Auf dem Entwicklungsystem muss git und der uv python package manager installiert sein.
|
||||
|
||||
1. Repo klonen.
|
||||
2. `uv sync` ausführen
|
||||
3. `uv run python -m alpine_bits_python.run_api` führt die API lokal auf Port 8080 aus. Datenbank wird automatisch erstellt und bei jedem start geleert.
|
||||
|
||||
## Konfiguration
|
||||
|
||||
TODO
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user