alexis-l8 / carebnb Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://fac10.github.io/CareBnB/
License: MIT License
Home Page: https://fac10.github.io/CareBnB/
License: MIT License
https://github.com/alexis-l8/CareBnB/blob/master/.DS_Store is not a file you are every going to want to add to github
You can globally gitignore this by adding it to a ~/.gitignore_global
file
Mine looks like this:
*~
.DS_Store
Run this command to always gitignore this file:
echo "*~\n.DS_Store" > ~/.gitignore_global
There should be 2 main sign up options, namely:
1 - Oauth, where a user can sign up using their social media account, e.g. GitHub, Facebook, Google, etc..
2 - Signing up using our website/service, where the user will have to create an account
We have to setup the database which will contain the tables of the homeowners and homeseeker's profiles. We also need a table which will describe the preferences of the homeowners.
Just a UX kind of thing, but when I tab through the form to the date field, the years start at 0001. You might want to set it to start at a more sensible year? ;)
We'll be researching how to implement the Google Maps Api using Handlebars and helper functions
We have to create the pages which will ask the potential homeseeker a list of criteria, which we will then use to filter and display the homeowners who will be the best probable match.
The database should contain 6 initial homeowners with their preferences
https://github.com/alexis-l8/CareBnB/blob/master/src/helpers/helper_functions.js
Useful function here :D
Good things about this:
Not so good:
const dataFromDatabase = {};
queries.js
file.Also just a UX thing, but after signing up I don't go anywhere :( in fact, i get redirected to a formspree page.
You should want to keep me on your site!
We will need to use cookies to enable session management for logged in users.
Similar issues here to in #75
You use destructure the object you pass in and get quite a lot of data out of it. Then you don't do anything very complicated with that data.
For the sake of keeping it short, why not not desturcture it, and instead just write a helper function to construct the array that you pass into your DB query?
Like...
const makeArray = obj => [ obj.first_name, ... etc ]
As a stretch goal, it would be great if we could implement autocomplete for the postcode input field. Perhaps we could use this: http://postcodes.io/
Users are able to enter non-existing postcodes which causes either the map not to show up, or even worse the server to crash.
I entered an abbreviated (therefore according to your logic) invalid postcode. This resulted in a 404.
Up to you, and maybe just my opinion, but I would probably validate this kind of input in the browser.
Look into CSS.styles and make sure all profiles display in the same way
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.