GithubHelp home page GithubHelp logo

timwangmusic / vacation-planner Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 1.0 5.47 MB

Vacation Planner is a service for travelers to find enjoyable routes under budget and time constraints

Home Page: https://www.unwind.dev

License: Apache License 2.0

Go 67.64% Dockerfile 0.04% Shell 0.34% CSS 1.32% JavaScript 11.40% HTML 19.25%
backend fun-project optimization planning travel

vacation-planner's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

sananand007

vacation-planner's Issues

Remove orphan plans in Redis

When a new set of travel plans are generated, they can be found only through a parent Redis key, which expires in 24 hours (by current config). After the parent key expires, the plans cannot be referenced easily unless through saved plans list in the user profile. When users delete the references, they are likely to accumulate in the database. This is a flaw of the original design.

Allow users to enter name of a POI and plan the rest of the day

Often times we start planning a day trip with one Point of Interest (POI) in mind. For instance, we are in New York City and want to visit the Empire state building. But we don't know what are the nearby POI to go that can fill in the day. Vacation planner should be able to fill the plan for the rest of the day for users.

Allow users to like or dislike a plan

Add a thumb up and thumb down button besides each plan so that the server should remove the plan from next rendering for that user.

To support this feature, we have to increase the number of plans generated from the initial request. The reason is otherwise we have to keep generating new plans, which will bog down the server.

Incorrect sequence of locations in trip plan show page

Description:

For the new PR merged to master in 96179ae and service endpoint /plans/:id, there are some trip plans with incorrect sequences of locations.
For example, the restaurant location can be shown in the last instead of middle.

Things to debug

  • check original solutions and trip plans stored in Redis, and see if the location and place ID mapping is correct
  • check processing of new endpoint handler getTripDetails(), if any processing may have swapped the order of locations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.