Skip to content

Profilepage #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 137 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
dccb715
Update README.md
itsgivingchaotica Oct 21, 2023
30fef45
Update README.md
itsgivingchaotica Oct 21, 2023
a16b911
Update user_stories.md
itsgivingchaotica Oct 21, 2023
bdbd425
Update milestone1.md
itsgivingchaotica Oct 21, 2023
7d4d7c8
Update README.md
itsgivingchaotica Oct 21, 2023
e475b3b
Update README.md
itsgivingchaotica Oct 21, 2023
ea2be54
completed readme reflection for milestone1
hafeefas Oct 21, 2023
dcec218
Merge pull request #1 from itsgivingchaotica/milestone1branch
itsgivingchaotica Oct 21, 2023
e0d3186
Update milestone2.md
itsgivingchaotica Oct 28, 2023
6b4326d
Merge pull request #2 from itsgivingchaotica/itsgivingchaotica-patch-1
itsgivingchaotica Oct 28, 2023
9d9731a
Update entity_relationship_diagram.md
itsgivingchaotica Oct 28, 2023
38974ce
Update wireframes.md
itsgivingchaotica Oct 28, 2023
4b23b67
Update entity_relationship_diagram.md
itsgivingchaotica Oct 28, 2023
6c812c4
Update entity_relationship_diagram.md
itsgivingchaotica Oct 28, 2023
c30d4dd
added milestone2 relflection
hafeefas Oct 28, 2023
8f97ffa
Update wireframes.md
itsgivingchaotica Oct 28, 2023
b6186e2
react redux tailwind init
itsgivingchaotica Oct 29, 2023
b19a681
node express init
itsgivingchaotica Oct 29, 2023
688da98
Merge pull request #4 from itsgivingchaotica/setUpClientServer
itsgivingchaotica Oct 29, 2023
69441db
Update entity_relationship_diagram.md
itsgivingchaotica Oct 29, 2023
c8a9221
Update README.md
itsgivingchaotica Nov 4, 2023
c3577d2
Update milestone3.md
itsgivingchaotica Nov 4, 2023
e16e607
completed reflection
hafeefas Nov 4, 2023
fea945d
Merge branch 'main' of https://github.com/itsgivingchaotica/stayvue
hafeefas Nov 4, 2023
a7b3b80
establish connection to stayvue database
itsgivingchaotica Nov 5, 2023
8a8085e
use env file
itsgivingchaotica Nov 5, 2023
4a53703
create reset file
itsgivingchaotica Nov 5, 2023
caa0d1f
add all mock data
itsgivingchaotica Nov 5, 2023
1c23a56
create stayvue server
itsgivingchaotica Nov 5, 2023
fce9170
add cors to depedencies
itsgivingchaotica Nov 5, 2023
cfadac0
Merge pull request #26 from itsgivingchaotica/fillDatabaseWithData
itsgivingchaotica Nov 5, 2023
f8888ae
create and seed images table
itsgivingchaotica Nov 5, 2023
eb0c8cb
add listings route as home
itsgivingchaotica Nov 5, 2023
c428c12
generate listing images data for all properties
itsgivingchaotica Nov 5, 2023
2677b1b
listings controller
itsgivingchaotica Nov 5, 2023
d71f110
listings route
itsgivingchaotica Nov 5, 2023
14d903f
edit start script
itsgivingchaotica Nov 5, 2023
8fea3f1
Merge pull request #27 from itsgivingchaotica/listingsRoutesControllers
itsgivingchaotica Nov 5, 2023
7cc1a69
add styling
itsgivingchaotica Nov 6, 2023
cd44e1c
create listings page
itsgivingchaotica Nov 6, 2023
0a324aa
show listings in container
itsgivingchaotica Nov 6, 2023
669634e
create cards and carousels for each listing
itsgivingchaotica Nov 6, 2023
14b81ce
add listing page route to app
itsgivingchaotica Nov 6, 2023
ec1d8d2
logo assets
itsgivingchaotica Nov 6, 2023
0ea03eb
add react router dom
itsgivingchaotica Nov 6, 2023
f27d61e
install dependencies for date formatting and icons
itsgivingchaotica Nov 6, 2023
9ff3da9
Merge pull request #28 from itsgivingchaotica/listingsPage
itsgivingchaotica Nov 6, 2023
f65d1dc
Update README.md
itsgivingchaotica Nov 6, 2023
6ceca35
add search icon
itsgivingchaotica Nov 7, 2023
445b5df
create navbar
itsgivingchaotica Nov 7, 2023
62e11ac
make login modal
itsgivingchaotica Nov 7, 2023
b4495e5
create dropdown menu
itsgivingchaotica Nov 7, 2023
f4f9e8c
remove output because postcss :)
itsgivingchaotica Nov 7, 2023
bd0c2af
remove unneccessary css
itsgivingchaotica Nov 7, 2023
652d80f
re-init tailwind:
itsgivingchaotica Nov 7, 2023
28a8597
add navbar component
itsgivingchaotica Nov 7, 2023
8e607c2
begin passport init
itsgivingchaotica Nov 7, 2023
f809ba2
postcss
itsgivingchaotica Nov 7, 2023
ca229de
create login controller
itsgivingchaotica Nov 7, 2023
ac0fc94
auth routes
itsgivingchaotica Nov 7, 2023
d04f336
make navbar a component
itsgivingchaotica Nov 7, 2023
9721566
edit layout
itsgivingchaotica Nov 7, 2023
9c3b2ea
install depednencies
itsgivingchaotica Nov 7, 2023
5ef59ee
Merge pull request #32 from itsgivingchaotica/setupLogin
itsgivingchaotica Nov 7, 2023
d702e8b
posting new listingimages, listing availability, get listing by id
itsgivingchaotica Nov 11, 2023
cd8f9de
remove null restraints for registration user
itsgivingchaotica Nov 11, 2023
9ff7c68
add routes for auth
itsgivingchaotica Nov 11, 2023
39e1613
routes for listings
itsgivingchaotica Nov 11, 2023
335ce4a
passport and sessions
itsgivingchaotica Nov 11, 2023
84dae70
properties controller
itsgivingchaotica Nov 11, 2023
af452b4
properties routes
itsgivingchaotica Nov 11, 2023
eb5eaaf
hashing password
itsgivingchaotica Nov 11, 2023
d46a82a
passport local strategy
itsgivingchaotica Nov 11, 2023
3587fe2
Merge pull request #33 from itsgivingchaotica/passportLocal
itsgivingchaotica Nov 11, 2023
0150692
built some profile page backend
hafeefas Nov 11, 2023
43a1d4d
Merge branch 'main' of https://github.com/itsgivingchaotica/stayvue
hafeefas Nov 11, 2023
8a2b8dc
download depedencies
itsgivingchaotica Nov 11, 2023
85bd200
Merge pull request #34 from itsgivingchaotica/passportInstall
itsgivingchaotica Nov 11, 2023
0437089
Merge branch 'main' of https://github.com/itsgivingchaotica/stayvue
hafeefas Nov 11, 2023
ee5c620
fix redirect and cors origin
itsgivingchaotica Nov 11, 2023
f2c4d65
Merge pull request #35 from itsgivingchaotica/corsOrigin
itsgivingchaotica Nov 11, 2023
379a2ad
debugging backend connection errors
hafeefas Nov 11, 2023
71dfdda
Merge branch 'main' of https://github.com/itsgivingchaotica/stayvue
hafeefas Nov 11, 2023
6eda2a6
Merge branch 'main' into profilepage
hafeefas Nov 11, 2023
566d509
designed ui of user information
hafeefas Nov 11, 2023
d9476f9
completed ui for userprofile page
hafeefas Nov 11, 2023
de363bd
Merge pull request #36 from itsgivingchaotica/profilepage
hafeefas Nov 11, 2023
c090955
add click handlers to switch between login and logout modals
itsgivingchaotica Nov 11, 2023
d5f6fce
add connection string config
itsgivingchaotica Nov 11, 2023
6a7a3b4
create session table
itsgivingchaotica Nov 11, 2023
1a41b31
user session
itsgivingchaotica Nov 11, 2023
e0c41f4
connect pg session
itsgivingchaotica Nov 11, 2023
02da042
install pg connect simple
itsgivingchaotica Nov 11, 2023
1cfc3f5
install connect-pg-simple
itsgivingchaotica Nov 11, 2023
320c51d
Merge branch 'main' into sessionStore
itsgivingchaotica Nov 11, 2023
ed3f493
Merge pull request #37 from itsgivingchaotica/sessionStore
itsgivingchaotica Nov 11, 2023
e68448e
login/logout based on redux user
itsgivingchaotica Nov 12, 2023
f1e7ee5
form states to submit registration and login
itsgivingchaotica Nov 12, 2023
7337412
toggle modal based on login attempt
itsgivingchaotica Nov 12, 2023
93abe2d
implement redux persist store
itsgivingchaotica Nov 12, 2023
1eea4ea
redux root reducer init
itsgivingchaotica Nov 12, 2023
171e263
user slice init
itsgivingchaotica Nov 12, 2023
6da155e
add image to user table
itsgivingchaotica Nov 12, 2023
5630626
implement additiona llogic to return user object to client side
itsgivingchaotica Nov 12, 2023
bfb5ee8
fix import for profile controller
itsgivingchaotica Nov 12, 2023
d1d227e
Merge pull request #38 from itsgivingchaotica/redux-user-login
itsgivingchaotica Nov 12, 2023
b651680
adding form validation and adding listing component on profile page
hafeefas Nov 12, 2023
c275e7d
Merge branch 'main' into profilepage
hafeefas Nov 12, 2023
a0c5509
api url prod and dev
itsgivingchaotica Nov 13, 2023
dc93148
add api url
itsgivingchaotica Nov 13, 2023
ad66165
client url for server
itsgivingchaotica Nov 13, 2023
18ea101
Merge pull request #39 from itsgivingchaotica/setUpDeployment
itsgivingchaotica Nov 13, 2023
7363f07
serve build script
itsgivingchaotica Nov 13, 2023
bb2715b
api proxy
itsgivingchaotica Nov 13, 2023
4eae797
Merge pull request #40 from itsgivingchaotica/railwayServe
itsgivingchaotica Nov 13, 2023
7d26c84
redux fix api url import
itsgivingchaotica Nov 13, 2023
f0474ab
redux fix api url import
itsgivingchaotica Nov 13, 2023
dfbe713
Merge pull request #41 from itsgivingchaotica/reduxFixAPIurl
itsgivingchaotica Nov 13, 2023
b54a53c
install serve
itsgivingchaotica Nov 13, 2023
f8ad59c
Merge pull request #42 from itsgivingchaotica/installserve
itsgivingchaotica Nov 13, 2023
8271ed3
edit start script for serve
itsgivingchaotica Nov 13, 2023
76759e6
Merge pull request #43 from itsgivingchaotica/serveStart
itsgivingchaotica Nov 13, 2023
f21d4e0
added user icon
hafeefas Nov 13, 2023
fcb6355
made json for testing
hafeefas Nov 13, 2023
b756fe1
made listing page
hafeefas Nov 13, 2023
1f4efc8
Merge branch 'main' into profilepage
hafeefas Nov 13, 2023
d1920a9
Merge pull request #44 from itsgivingchaotica/profilepage
hafeefas Nov 13, 2023
6e6f8b6
made form for adding a listing, make a delete and edit button, delete…
hafeefas Nov 13, 2023
064888c
Made button for properties tab
hafeefas Nov 13, 2023
9239ef9
Merge branch 'main' into profilepage
hafeefas Nov 13, 2023
9276ec2
Merge pull request #45 from itsgivingchaotica/profilepage
hafeefas Nov 13, 2023
ed26f80
added images to json
hafeefas Nov 13, 2023
090df8d
added images from json, adjusted size of cards, allowed for easier li…
hafeefas Nov 13, 2023
4d826cb
Merge branch 'main' into profilepage
hafeefas Nov 13, 2023
328ace3
Merge pull request #46 from itsgivingchaotica/profilepage
hafeefas Nov 13, 2023
52f17a2
completed milestone4
hafeefas Nov 13, 2023
40a24e8
Merge branch 'main' into profilepage
hafeefas Nov 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 67 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,102 @@
# [your app name here]
# StayVue

CodePath WEB103 Final Project

Designed and developed by: [your names here]
Designed and developed by: Saoirse Siobhan Ebert and Hafeefa Sulttan

🔗 Link to deployed app:

## About

### Description and Purpose

[text goes here]
StayVue is your ultimate travel companion, seamlessly merging the world of accommodations with an exclusive rewards program, connecting you to local businesses for a personalized and unforgettable travel experience. Whether you're a wanderlust-filled traveler or an enthusiastic host, StayVue is combination of exceptional stays and rewards that make travel memories even more rewarding. Travelers can experience unique accommodation experiences, write reviews and share their own experiences and earn points in return. The more you travel, the more you earn. Collect points on each stay, each review, and through a referral program. A user can redeem their earned points for discounts on future bookings, exclusive deals, and gift cards for local businesses. Additionally, users will get personalized recommendation and stay connected to local businesses, which means that the app's mission extends to not only providing awesome travel arrangements but supporting the businesses in which the accomodation is near. Users can communicate with hosts for a seamless booking process and personalized travel guidance, the hosts can show their trust value with verified identities and properties.

### Inspiration

[text goes here]
StayVue's mission goes beyond just booking accommodations; it's about enriching travel experience by connecting you to the heart and soul of your destination—its local businesses. StayVue is a gateway to immersive travel, rewards, and connections with local communities. Airbnb and other accomodations apps are a huge inspiration for this capstone, but extending the mission in this way is a huge factor into creating a culture of giving back to those communities and the folks who live there.

## Tech Stack

Frontend:
Frontend: React, Redux, TailwindCSS, Axios, Webix

Backend:
Backend: NodeJS, Express, PostgreSQL, Socket.io, Passport.js

## Features

### [Name of Feature 1]
### Listings

[short description goes here]
- [x] Users can browse the many listings offered at StayVue through our hosts.

<div>
<img src='https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExMjIzdjZyc28weW1uaTF2dzcwNXY1djAzd3E3Z2FxeWMzdXd3aTRpZCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/FfQy2CUE9ofGXafJEx/giphy.gif' title='Video Walkthrough' width='' alt='Video Walkthrough' />
</div>

### Accommodation Search

Users can search for accommodations based on location, dates, and preferences.

[gif goes here]

### [Name of Feature 2]
### Detailed Accommodation Listings

[short description goes here]
Users can view detailed property listings with descriptions, photos, amenities, and reviews.

[gif goes here]

### [Name of Feature 3]
### Booking Process

[short description goes here]
Users can easily book accommodations with a streamlined booking process.

[gif goes here]

### Review Submission

Users can submit and edit, and delete reviews and star ratings for accommodations they've stayed in.

### Review Points System

Users earn points for submitting reviews and ratings.

### Points and Rewards Dashboard

Users have access to a dashboard displaying their earned points and redeemed rewards.

### Real-Time Reviews

Users can view real-time reviews and ratings from other travelers while browsing accommodation listings.

### Redeem Points for Discounts and Perks

Users can use their earned points to receive discounts on future bookings and experiences within the local community that the booking is at

### Property Management

Hosts can create and manage property listings with descriptions, photos, and pricing.

### In-App Messaging

Hosts and guests can communicate through in-app messaging.

### Host Verification

Hosts can verify their identity and properties to build trust with users.

### Calendar Availability

Hosts can manage and display property availability calendars.

### Cancellation Policy

Hosts can set cancellation policies for their properties.

## Installation Instructions

[instructions go here]

<!-- Replace this with whatever GIF tool you used! -->
GIFs created with <a href="https://gifcap.dev/">Gifcap</a> </h3>

### [ADDITIONAL FEATURES GO HERE - ADD ALL FEATURES HERE IN THE FORMAT ABOVE; you will check these off and add gifs as you complete them]

## Installation Instructions
Expand Down
22 changes: 22 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:react/recommended'
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'react/prop-types': 'off', // Separate rule from the array
},
};
26 changes: 26 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules/
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.env
8 changes: 8 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
13 changes: 13 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/StayVue-2.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>StayVue</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading