Step 1: Clone or download the app: git clone https://github.com/honghainguyen777/bee-in-berlin.git
Step 2: Enter the app directory: cd bee-in-berlin
Step 3: Install dependency packages: npm install or yarn add (make sure you already have Node, npm/yarn installed)
Step 4: Run the app: npm start or yarn start
Step 5: Enjoy finding your Berlin public transport ticket
Decision Tree
The app is based one sligtly complicated decision tree.
Depending on the anwer from users for each question, a decision is made behind the scenes.
There are 18 questions in the question pool. The answers of users can lead to one of the 9 family tickets (in total 46 tickets - note some tickets have the same price between reduced and normal fares).
Plans for future developmet
Due to current restriction in time, no unit testing is available. Jest and Enzyme will be used for implementing unit testion.
Plain text for the recommended ticket will be replaced by ticket image
Some tickets and questions have not yet been implemented due to the complexity of the decision tree
Styles need to be improved
The normal import of the seeds (json data files) needs to be replaced by Webpack-dev-server
Mistakes and Challenges
Created many questions and tickets that led to the complexity of the decision tree -> time consumption
First time using Tailwind CSS -> mixed with normal CSS