Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Feature/add readme info #3

Merged
merged 5 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .env.stage
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PORT=3004
REACT_APP_APP_ID=2095
REACT_APP_APP_TENANT_ID=davinci
REACT_APP_RXB_SDK_ENV=stage
REACT_APP_API_IDENTITY_URL=https://id.stage.cere.io
REACT_APP_API_BFF_URL=https://api.davinci.stg.cere.io
REACT_APP_API_FREEPORT_URL=https://stage-freeport-api.network-stage.aws.cere.io
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# qr-scanner-rxb
# About

Application for checking tickets at the entrance. Works as part of the Davinci system and is intended exclusively for event staff. Configuration is carried out in RXB and Davici CRM.

## Architecture

The QR code scanner application is a classic react application using the mobx library as a store. The application only works in conjunction with Davinci (the QR codes themselves are generated in Davinci) and uses RXB as a backend. the scripts that are used in RXB can be found in the [rxb/integration-scripts](/rxb/integration-scripts) folder.

![Architecture diagram](architecture.jpg)

### Main flow

![Main flow, sequence diagram](./how-it-works.svg)
see source [here](https://sequencediagram.org/index.html#initialData=C4S2BsFMAIEUCVoGUDGBDAdhyAnaAzAV3HAPAHsB3AKGrRWHLyWDX32gAVcBncjNLQAOaHKBQgRGYAHMc5QkOgBiFABYARmvwBGOIlSZseeJHrBoAQSFDwIdKH7URY+5MwWAqgEloIabj49JDOouLu0tAAsuQaABrIjDghLuFSFgjQAMLkACYwPOhYuNB2GjiiAJ6hrhLpcgpKlpy+4GiVuDVpHtDeGPnSYJXQPLgAbvYpYW7p0ABCAGILI+OT1JD9XTM98HFzyAAiANJ+GDysGChTtRGy8ooqdjIAFsAa4IQwu-tIx1t1Oz20EgYw2Fg0hB4-1u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blQU8eoCOlRQaO1WeR36SDl3Q45B05YVny6X8zuQ7djkQsRVKIoyyj0-75KJ-C9LsXFu26ryu7Z-ACx3XK-BKuxHzV847jruJtdoFa9rOo0broAmcAduwjf5a32gCfprm-ovQGqCFjkZcwM-BWtAjoWHQAKPuW8-DeSCOAUYosvo-TPIzO0PAgbAhwPIPAlB-C5F-jg4AzxiqzUwUwaAAZyRoBkCESAcCYDgJgJA7e3l5YoCuOSBBHMkHc3+qg9BrD2EsMFjg-oVAUyfzRmgJ8fMvoOhQHYEOsNCEwAhMARgOEABEngBTiFFMADRnDCYLXPpCEouixTQ3AkrViZoj65UhLxfi9ts66zznJAuRti6m1LuXSu1cji1xqqrE+ZpG5Rz4jHZ4pNeowB2mgPaHoyQbzTr6AAFC43O+sPFFxNmbMuFcpJVxrnXOaABKIJ9sQmD35DAYULIxQOnMRYOJAd6TaNqSKMU48wppUijPF+Fh549KnsvFWlSHFAKgTvBee8SQHwqWvBqxiWptRAB1YqN8ix3yTI-fgkz8YyK4WaBmPMAbmBAH1NEbIWbFDwLMgBOFsAAA8LBNM1DqWgQA)
Binary file added architecture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions how-it-works.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading