Application for creating and managing deals, with fake user registration system.
This app was bootstrapped by CRA, and used Redux for state management, Reac Router 4 for navigation logic, and Redux Thunk for asynchronous dispatching. The UI was built with Bootstrap 4
This app is part of Bahr's interview only, and not ready for production
-
Run the server app. Please clone and run the server from here
-
Install and start the front-end by cloning this repo, then run the following npm (or yarn) commands in this directory:
npm install
npm start
The app should open up on http://localhost:3000
The following list of deals will be populated as a mockup data.
[
{ dealId: "1", dealCategory: 'Travel', dealPartner: 'AlTayyar', dealPrice: 200 },
{ dealId: "2", dealCategory: 'Hotel', dealPartner: 'Ritz', dealPrice: 2500 },
{ dealId: "3", dealCategory: 'Hotel', dealPartner: 'Hilton', dealPrice: 1500 },
{ dealId: "4", dealCategory: 'Rent', dealPartner: 'Theeb', dealPrice: 80 },
]
To create, edit, or delete a deal you need to be authorized, to be authorized you must sign up with your mobile number and a password (no validation implemented), or login using the user you created, or you can use the following credentials for testing:
- mobile: a
- passwoed: a
MIT