Git Product home page Git Product logo

arangobnb's People

Contributors

couds avatar cw00dw0rd avatar lostpebble avatar simran-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arangobnb's Issues

Backend: Reviews Language Data Modeling

Evaluate reviews to determine the language and split them out into separate collections.
We would then link these collections to a view.

The purpose of this is to solve the problem of not know which languages your data contains and how to still be able to evaluate them with a single view.

Frontend: Date functionality

The date picker will need to be made functional, is currently just a placeholder.

This will have some dependence on the backend and potentially overlap with #4 .

AQL: Filter Search

The AQL query that support #13 to allow for keywords to restrict the results shown. This may be a search over the description of the rental or whatever makes the most sense for the dataset.

Backend: KOA setup

KOA server and route creation. Please open any necessary related issues.

Frontend: Search Bar

We will have queries that rely on natural language search and would need a more traditional search input. There is currently no placeholder for this component and it would need to be added.

This will be required for AQL #11

Frontend: Filter Component

Once results are displayed will need to have filter options. How this is implemented is up to you, just needs to allow for selection keywords to narrow down results.

Project Structure

Just thought I'd open discussion about the structure of the actual project and what could work best.


What would you think about creating the project as a monorepo, using npm workspaces? This way we can maintain and develop each section in isolation without crossover- since technically, they all run in isolation in any case.

Could have a project structure like so, using a "root" package.json to define the workspaces:

/package.json
/workspaces/frontend-vue
/workspaces/frontend-react
/workspaces/backend-nodejs

/workspaces/common     (optionally, if there are shared enums and metadata etc.)

Inside each of these folders they maintain their own dependencies and package.json etc. This would allow us to all work on the master branch as well.

It will still be very easy to get started for newcomers, as we can still create npm scripts in the root package.json to allow people to quickly startup the backend- and their choice of either Vue or React- the default can still be Vue for the general npm run serve, or it could even run both frontends at different ports.

Frontend: Destination Search Bar

The current "Where to?" input needs to be functional. It is currently just a placeholder that does nothing.

This will have some dependence on the backend and potentially overlap with #4 .

Frontend: AQL Query Display

Display AQL query being run in the component. This could be toggled on/off and likely displayed in a box along the bottom or wherever seems appropriate.

AQL: Dataset Modeling

The current dataset we intend to use is here https://www.kaggle.com/brittabettendorf/berlin-airbnb-data?select=listings_summary.csv

This may need to change if we find it isn't able to fulfill some of the features we require for the project. However, the initial investigation looks promising.

We will need to model the data and once that is done we will update the readme to contain the working dataset.

Feel free to contribute to this as well if you have a suggested/preferred approach.

Backend: Foxx Microservice

Create Foxx microservice to handle the necessary routes.

Note: We have decided on KOA for route handling but creating a Foxx microservice is a nice-to-have to draw comparisons between using a traditional backend service and Foxx.

Documentation: Clarify which version of ArangoDB to use

Going to download and play with the dataset today. Just noticed when I got to the point of downloading ArangoDB from the site, I wasn't sure which version to go for (I know Enterprise would be okay either way) - but would be nice to know which version this project aims to be compatible with.

Also should clarify the minimum version number required for the project- I assume its 3.8 for the new geo features.

Frontend: Map View

Map showing the neighborhoods and display rental availability. Primarily as a visualization but if further functionality, such as click on homes to get more details, can be added as a nice-to-have.

Backend: View Creation

Need to determine the most appropriate view creation that will support desired AQL queries. Will need to come after query decisions.

GeoCode Search is broken

It seems there has been some update that is blocking our search function as of this morning, it worked last night as is. We should investigate and more likely plan on fully using ArangoSearch for this instead.

127.0.0.1/:1 Access to fetch at 'https://nominatim.openstreetmap.org/search?q=museum&format=json' from origin 'http://127.0.0.1:8080' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Frontend: Theme & Background Hero Image

Need to decide on a background image. Suggestions welcome, just need something the goes along with the theme.

This task may need to also encompass a suggestion for the colors and theme. Colors should consist of typical ArangoDB colors various greens, browns, but does not need to be dark theme, just whatever seems best.

Frontend: Guests Functionality

The current guests functionality will need to be made functional, currently is just a placeholder.

This will have some dependence on the backend and potentially overlap with #4 .

Analyzer geo not found after importing dump

Hi Al, I was testing the latest version of the repo, and the VUE front its not working. The API return status 500
AQL: unsupported SEARCH condition: 'ANALYZER' AQL function: Unable to lookup analyzer 'geo' (while optimizing plan)

After checking on the DB the analyzer geo do not exists, maybe I miss a step somewhere?

image

Thanks

Frontend: Results Component

Need to display results from the query. Further issues may need to be made to fully support this. Please open as needed.

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.