adiwajshing / ap-travel-website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Staysia (E-Travel Website)

Documentation:

E-Commerce Website (AP2020) (Latest Submission)

Project Details

Stack

Local Run

Note: only possible for developers who have fbAdminConfig.json and env.sample (included in zip)

  1. Make .env.sample a .env file
  2. cd into directory and install dependencies using pip3 install -r requirements.txt
  3. Run application.py. Confirm that it serves on http://127.0.0.1:5000/. You can operate the backend separately at http://127.0.0.1:5000/docs
  4. cd into frontend and follow instructions on https://flutter.dev/docs/get-started/web.(flutter should be installed)
  5. Run flutter run -d chrome --web-port=3000
  6. Flutter will open up Chrome with application.

Look out for

  • Fuzzy Search, Normal Search, Advanced Search with User Preference Filtering (check Search Routes OR application.py#L271-L408)

  • Recommendation Engine (check Scoring System and Graphic OR reccomendations/data_rec.py#L278-L343 and reccomendations/reccomendation_engine.pdf)

  • User Preference Storing (check Calculating Avg Hotel and User Preference Scoring OR reccomendations/data_rec.py#L345-L403 and reccomendations/data_rec.py#L238-L276)

  • Autogenerated Emails (check Email Code OR application.py#L757-L787)

  • PDF Printouts (check Creating PDF and PDF Template OR application.py#L789-L816 and template.json)

  • "Others Also Stayed At" Feature (check Booking Network OR application.py#L490-L529)

  • Bearer Token Auth (check Auth Service OR application.py#L97-L131)

  • Cache-Control (for static files)

  • Single Page Frontend Application

Citation

About


Languages

Language:Dart 80.7%Language:Python 18.8%Language:HTML 0.5%