Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahariar50/the-oyster-card-problem-solution
https://github.com/shahariar50/the-oyster-card-problem-solution
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shahariar50/the-oyster-card-problem-solution
- Owner: shahariar50
- Created: 2021-05-27T23:05:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-28T21:38:54.000Z (over 3 years ago)
- Last Synced: 2023-02-26T05:42:33.427Z (almost 2 years ago)
- Language: JavaScript
- Homepage: https://j0slj.csb.app/
- Size: 226 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# I have choosed React.js to solved this problem.
## How to Start this app.
You can start this app from you local computer or you can use this link to see the output https://j0slj.csb.app/
## Start apps in local pc
You must have installed node and npm(Yarn for better perfomance) to install this apps.
### Steps to run:
1. run `npm i or yarn` in you console to install the project.
2. run `npm start or yarn start` to run the program## Use the app
After install and start the app, if you see a button name recharge, then you have successfully installed the app.
### Steps to use the app:
1. You have to recharge the money to card to ride the car. Yeah? Okay so reacharge the money.
2. Then, to ride the car, you have to swipe in the card.
3. Now choose the option to set your boarding and exit point.
4. Don't choose the same station. Otherwise you will get error.
5. Before get our the bus, Don't forget to swipe the card. Otherwise you will get maximum fee punishment ;)
6. Now, you can use this method over and over.## Importent note
If you want to see the main logic of this problem's solution go to line `22` of `src/App.js` file.