teomandi / Web-Technologies-AirBnb-like-site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web-technologies

H ergasia ulopoihthike se perivallon eclipse xrisimopoiwntas java 1.8 tomcat7 kai jsf2.2 H vash stithike se perivallon mysql kai xrisimopoihthike JPA gia thn epikoinwnia tou programmatos me thn vash

Yparxoun 5 tables sthn vash.. 1)O user o opoios periexei olous tous xristes...eite einai host eite einai aplos user kai enan admin user 2)To room to opoio periexei ola ta rooms ta opoia uparxoun...oi fwtografies twn room apothikeuontai se enan fakelo o opoios brsketai mesa sto resources/apartments , sto fakelo pou exei to id tou user pou to dhmiourghse , autos o fakelos periexei fakelous gia to kathe room pou exei dhmiourghsei autos o user...dhladh oi fwtografies gia to kathe room einai sto path "WebContent/resources/apartments/user_id/seqNumRoom/" Oi hmeromhnies apothikeuontai me thn morfh String ...arxika exoun thn ejhs morfh px "02/01-30/1" dhladh to dwmatio einai diatheshmo apo tis 2/1 mexri tis 30/1..as poume theloume na kleisoume stis 4/1-10/1 h hmeromhnia tha metatrapei se "02/01-04/1:10/1-30/1" 3)To UserRoomInteraction to opoio dhmiourgeitai otan kapoios klinei ena room..tote autos o user exei thn dunatothta na ajiologhsei kai na sxoliasei to room pou ekleise..auto sumvainei mono an o xrhsths einai sundedemenos me ton logariasmo tou 4)To chatMessage pou periexei ena mhnuma kai se poio chat anhkei (chat_id) 5)To chatRoom to opoio periexei ola ta chat pou exoun dhmiourghthei..sto chat room uparxei o user1 ston opoio staltike to prwto mhnuma kai mono autos exei thn dunatothta diagrafhs mhnumatwn. Epishs mono sundedemenoi xristes exoun thn dunatothta apostolhs kai lipshs mhnumatwn

Otan ekkineitai h efarmogh o xrhsths phgainei to welcome.xhtml opou ekei tou dinetai h dunatothta na dwsei hmeromhnies,location kai

arithmo atomwn kai na vrei apotelesmata me vash ta stoixeia pou edwse. Epishs an thelei tou dinetai h dunatothta na valei kapoia filtra me vash tis protoimhseis tou. Akomh exei th dunatothta na kanei Login kai na plohghthei sto registration page mesw tou katallhlou koumpiou. Epishs opou kai na vrisketai o xrhsths panta exei th dunatothta na plohghthei sto welcome.xhtml mesw tou logo (panw aristera) to opoio leitourgei ws link. Afou o xrhsths dwsei dedomena plohgeitai sthn selida results h opoia antluei dedomena apo to ResultBean to opoio lamvanei ola ta dedomena pou dwthikan sto welcome kai vriskei mia lista apo results...Auth h lista twn results me vash ta filtra pouxe dwsei o xrhsths kai tis hmeromhnies afairei kapoia apo ta apotelesmata etsi wste na tairiazoun me tis protimhseis tou..Sth sunexeia auta parousiazwntai se lista apotelesmatwn xwrismena ana 10 se kathe selida. Otan o xrhsths epilejei kapoio apo ta apotelesmata tote plohgeitai sthn selida leptomerous parousiashs tou dwmatiou. Sth selida leptomerous parousiashs o xrhsths exei thn dunatothta na ejetasei tis plhrofories tou dwmatiou , na dei sto xarth pou vrisketai , na dei eikones tou dwmatiou kai na klisei to dwmatio stis hmeromhnies pou zhthse. Epishs exei thn dunatothta an einai sundedemenos na anoijei perioxh suzhthshs me ton host tou dwmatiou gia peretairw epikoinwnia. An o xrhsths exei klisei to dwmation kai einai sundedemenos me kapoion logariasmo , exei thn dunatothta na afhsei kapoio sxolio kai na ajiologhsei to dwmatio. Sthn eggrafh tou xrhsth dinetai h dunatothta na dhlwsei an thelei na parei to rolo tou host h na einai aplws enas xrhsths..an zithsei ton rolo tou host tote den exei thn dunatothta na dhmiourghsei dwmatia pros enoikiasei mexri na ton egkrinei o admin. Kathe xrhsths exei thn dunatothta na kanei edit ta stoixeia tou ,ektos apo to username, kai na allajei role opoiadipote stigmh alla pali tha prepei na egkruthei apo ton admin gia na anevasei dwmatio pros enoikiasei...an enas xrhsths htan host kai ton eixe egkrunei o admin kai allajei role se user kai meta pali se host tote diathreitai h egkrush apo ton admin. Sto profile epishs tou kathe xrhsths uparxei mia lista me ola ta dwmatia pou eixe klisei kai mesw auths borei na plohghthei sta dwmatia kai na afhsei kapoio sxolio h na ta ajiologhsei. Epishs sto profile tou mporei na kateuthunthei sthn perioxh suzhthsewn kai na dei mhnumata pou tou exoun steilei kai mhnumata pou exei sthlei... Otan sundeetai enas host exei thn dunatothta na plohghthei sthn host_page mesw enws eidikou koumpiou dipla apto profile button. Se auth th selida uparxei mia forma ,h opoia einai orath mono an exei egkruthei apo ton admin, h opoia einai gia thn dhmiourgia neou dwmatiou. Se authn dinetai h dunatothta na dwsei mia sugkekrimenh dieuthunsh kai na thn vrei ston google xarth kai na dwsei mia fwtografia h opoia tha leitourgei ws kuria fwtografia tou dwmatiou, dhladh tha emfanizetai sta plegmata kai se megalh eikona sto room.xhtml. Sth sunexeia tou dinetai h dunatothta na anevasei kai alles fwtografies tou dwmatiou mesw enw primeface upload file. Afou exei dhmiourghsei dwmatia o xrhsths tote sth selida apeikonizontai dejia me thn morfh plegmatos ola ta dwmatia pou exei dhmiourghsei kai tou dinetai h dunatothta na plohghthei mesw autwn sta dwmatia tou. Stis selides leptomerous parousiashs tou dwmatiou o host pou einai dhmiourgos tou exei th dunatothta na allajei kathe plhroforia gia to dwmatio , na allajei tis plhrofories tou dwmatiou, na epejergastei plhrofories sxetika me me thn topothesia, na prosthesei kai na svhsei fwtografies pou exei anevasei. Epishs borei na svhsei comments ta opoia epithumei..wstoso den borei na allajei thn ajiologhsh pou exei dwthei apo allous xrhstes gia to dwmatio tou. Akomh uparxei mia selida Admin page sthn opoia mporei na plohthei mono enas xrhsths me ton rolo admin (role=A) opou periexei mia lista me olous tous xrhstes opou gia ton kathena borei na plohghthei se mia selida opou parousiazwntai leptomeros ta stoixeia tou..mesw auths ths selidas o admin exei thn dynatothta na egkrunei thn aithsh enos host xrhsth gia thn dhmiourgia dimerismatwn..Epishs exei thn dunatothta na paragei xml arxeia!

Gia to erwthma 10 den xrisimopoihthikna ta arxeia csv opote den exei dokimastei me polla dedomena...Ayto pou kanei einai oti otan enas xrhsths einai sundedemenos

kai einai sto welcome page tote ekteleitai to recommendation...xrisimopoihtai o algorithmos lsh (alla epeidh einai liga ta dedomena kai den uparxoun polloi xristes pou nanai omoioi tous xwrizame se 2-3 buckets me 2-3 stages gia ton algorithmo) kai xwrizontai oi xristes se buckets..meta briskoume to bucket pou einai o sundedemenos xrhsths kai tous upoloipous xristes tou bucket. Xrisimopoihsame thn logikh ths centered similarity gia thn opoia upologhsame ton mesw oro kathe grammhs kai ftiajame enan pinaka o opoios apoteleitai apo (grammes xrhstes tou bucket kai sthles dwmatia) thn vathmologia - avg_Row . Sthn sunexeia brikame to cosine similarity tou kathe xrhsth me tou sundedemenou xrhsth, kai dialegoume analagos me tous posous einai sto bucket. Dialegoume tis 2 mikroteres h thn 1 mikroterh (an to bucket exei mono 2 users). Epeita me vash auta ta vectors upologizoume thn pithanh vathmologia pou tha dine o xrhsths se dwmatia pou den exei episkeuthei..dialegoume tis top kai ta stelnoume ws proteinomena sta results gia na tou ta proteinei h istoselida

*Epidh to erwthma ektelesthke xwris polla dedomena kai gia auto einai polu suxno fainwmeno na mhn vriskei paromoious xrhstes o algorythmos opote na mhn provalei proteinomena dwmatia

Provlhmata *gia na boroun na provlithoun oi eikones pou anevazontai tha prpeei na ginetai refresh o fakelos resources ** oi eikones apothikeuontai se sthathero path...gia th xrhsh tha prepei na prosarmwsetai to path..einai sta shmeia pou exoun shmadeutei me "(?)"

Merikoi logariasmoi Username: Password: admin:geo admin host host k k kk k kkk k paul p irene 608 last last

About


Languages

Language:Java 67.0%Language:HTML 30.7%Language:CSS 2.3%