Sleep well with Relais & Châteaux
My Project: https://schmatthieu-castle-webapp.netlify.com
Table of Contents
List the best rates - for each Weekend - for France located Relais & Châteaux with starred restaurants
Create a connection between relaischateaux.com, restaurant.michelin.fr and the end-user.
- How it works https://www.relaischateaux.com ?
- How to get the list of
Hotel + restaurant - How to identify the restaurant(s) name ?
- How to compute the booking price for all weekend ? for a given weekend?
etc ...
Some things to do:
- Browse the website
- Check how that you can get list of properties: api etc.... (check network activity)
- Check how that you can get list of restaurants for a given property: api etc.... (check network activity)
- define the JSON schema for Property
etc ...
Example of Property: https://www.relaischateaux.com/fr/france/mercues-lot-mercues
- How it works https://restaurant.michelin.fr
- What are the given properties for a starred restaurant: name, adress, town, stars, chef... ?
- ...
Some things to do:
- Browse the website
- define the JSON schema for a restaurant
- Check how that you can get list of starred restaurants: api etc.... (check network activity)
etc...
Example of Restaurant: https://restaurant.michelin.fr/2akhln2/lauberge-des-glazicks-plomodiern
Some things to do:
- How to create a connection between Relais & Châteaux and the starred restaurant?
Create a module called castle that returns the list of best rates for all Weekends for each Property
const castle = require('castle');
...
const property = {...};
const properties = castle.getProperties();
const prices = castle.getPrices(property);
...Some things to do:
- create the calls (api, http) to get the Property page
- get the restaurants name (by scraping or decoding api response)
- check if the restaurant is starred.
- get the price by Weekend (by scraping or decoding api response)
Create a module called michelin that return the list of restaurant
const michelin = require('michelin');
const starred = michelin.get();
...Some things to do:
- scrape list of France located starred restaurants
- store the list into JSON file, nosql database (like redis, mongodb...)
- create a node module that returns the list
MVP to do:
- For each Weekend, list best rates for France located Relais & Châteaux with starred restaurants
Next features:
- Add filters:
- filtering by name
- sorting by stars
- sorting by price
- sorting by ratings