Skip to content
/ my-deals Public

Application for creating and managing deals, with fake user registration system.

Notifications You must be signed in to change notification settings

iHani/my-deals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deals Provider System

Application for creating and managing deals, with fake user registration system.

About

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

Get Started

  1. Run the server app. Please clone and run the server from here

  2. 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

First time

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

Screenshot

Licence

MIT

About

Application for creating and managing deals, with fake user registration system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published