Skip to content

Chen develop #16

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 150 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
ee17a94
init
XujuanChen Oct 18, 2023
05f005d
Update milestone1.md
YevheniyaSolomyana Oct 19, 2023
c639731
Update milestone1.md
YevheniyaSolomyana Oct 19, 2023
bb58e52
Update README.md
YevheniyaSolomyana Oct 19, 2023
bd599f0
Update README.md
YevheniyaSolomyana Oct 19, 2023
10b2d10
Update milestone1.md
YevheniyaSolomyana Oct 19, 2023
b78dd87
Update README.md
XujuanChen Oct 19, 2023
034394f
Update README.md
YevheniyaSolomyana Oct 19, 2023
5513a08
Update README.md
YevheniyaSolomyana Oct 19, 2023
f2c716b
Update README.md
XujuanChen Oct 19, 2023
59e2cc3
Update README.md
YevheniyaSolomyana Oct 19, 2023
4eb73d3
Update milestone1.md
YevheniyaSolomyana Oct 19, 2023
7a32ea6
Update user_stories.md
YevheniyaSolomyana Oct 19, 2023
2c9920b
Update user_stories.md
YevheniyaSolomyana Oct 19, 2023
718cc8b
Update milestone1.md
XujuanChen Oct 19, 2023
10b44ab
Update milestone1.md
YevheniyaSolomyana Oct 19, 2023
4ecc230
Update README.md
XujuanChen Oct 21, 2023
c7b164a
Update README.md
XujuanChen Oct 21, 2023
15c8f9f
Update README.md
XujuanChen Oct 21, 2023
a0236f2
Update README.md
XujuanChen Oct 21, 2023
abbdc0e
Update milestone2.md
XujuanChen Oct 27, 2023
b7694b3
Update entity_relationship_diagram.md
XujuanChen Oct 27, 2023
6be28ba
Update wireframes.md
YevheniyaSolomyana Oct 27, 2023
73f7471
Update entity_relationship_diagram.md
XujuanChen Oct 27, 2023
a402edb
Add files via upload
YevheniyaSolomyana Oct 27, 2023
eb99680
Update wireframes.md
YevheniyaSolomyana Oct 27, 2023
fbf3d1d
Update wireframes.md
YevheniyaSolomyana Oct 27, 2023
fe491b5
Delete planning/allpages.png
YevheniyaSolomyana Oct 27, 2023
1a19559
Delete planning/browse.png
YevheniyaSolomyana Oct 27, 2023
84f198b
Delete planning/bookdetails.png
YevheniyaSolomyana Oct 27, 2023
7345594
Delete planning/myprofile.png
YevheniyaSolomyana Oct 27, 2023
71df0fc
Delete planning/home.png
YevheniyaSolomyana Oct 27, 2023
60dafa9
Update wireframes.md
YevheniyaSolomyana Oct 27, 2023
061fa03
Update entity_relationship_diagram.md
XujuanChen Oct 27, 2023
bea1001
Update entity_relationship_diagram.md
XujuanChen Oct 28, 2023
033aa41
Update entity_relationship_diagram.md
XujuanChen Oct 28, 2023
2e23473
Update entity_relationship_diagram.md
XujuanChen Oct 28, 2023
6670a42
create branch
XujuanChen Nov 1, 2023
1542aa4
set up an express server
XujuanChen Nov 1, 2023
d999d1f
Update README.md
YevheniyaSolomyana Nov 3, 2023
5082a06
Update README.md
YevheniyaSolomyana Nov 3, 2023
677045f
connected database
XujuanChen Nov 3, 2023
0115b8e
setup backend routes
XujuanChen Nov 4, 2023
29aaa33
Update milestone3.md
YevheniyaSolomyana Nov 4, 2023
69ac85f
setup client side
YevheniyaSolomyana Nov 4, 2023
8bc9233
Merge pull request #13 from XujuanChen/zhenya
YevheniyaSolomyana Nov 4, 2023
522a6f9
Merge pull request #14 from XujuanChen/chen_develop
XujuanChen Nov 4, 2023
e9f7ca7
add images
XujuanChen Nov 4, 2023
a0df8aa
routes
XujuanChen Nov 4, 2023
c950e4e
Merge pull request #15 from XujuanChen/chen_develop
XujuanChen Nov 4, 2023
cd7b6cb
Update README.md
XujuanChen Nov 4, 2023
99d505a
Update milestone3.md
XujuanChen Nov 4, 2023
d63e888
Update README.md
XujuanChen Nov 4, 2023
b9f3b1d
Update milestone3.md
XujuanChen Nov 4, 2023
914004e
Update README.md
YevheniyaSolomyana Nov 4, 2023
a5b9958
Update README.md
YevheniyaSolomyana Nov 4, 2023
ad2f9b6
getBookById route
XujuanChen Nov 4, 2023
7ff61c2
Merge pull request #16 from XujuanChen/chen_develop
XujuanChen Nov 4, 2023
64c0efd
initial Home and Browse pages
YevheniyaSolomyana Nov 8, 2023
15fe0fa
Merge pull request #17 from XujuanChen/zhenya
YevheniyaSolomyana Nov 8, 2023
1f03436
create tables
XujuanChen Nov 9, 2023
19c97ce
backend dm routes
XujuanChen Nov 10, 2023
5603d17
Merge pull request #18 from XujuanChen/chen_develop
XujuanChen Nov 10, 2023
28dcb8f
updating Book and Navbar components
YevheniyaSolomyana Nov 10, 2023
25958ad
Merge branch 'main' of https://github.com/XujuanChen/web103_finalproj…
YevheniyaSolomyana Nov 10, 2023
d5c7cbf
Merge pull request #19 from XujuanChen/zhenya
YevheniyaSolomyana Nov 10, 2023
7270c8d
add create/update/delete on books
XujuanChen Nov 10, 2023
09d737c
adding AddBook and BookDetails
YevheniyaSolomyana Nov 10, 2023
8cad77a
Merge pull request #20 from XujuanChen/zhenya
YevheniyaSolomyana Nov 10, 2023
5772862
fix some bugs
XujuanChen Nov 10, 2023
62302c6
Merge pull request #21 from XujuanChen/chen_develop
XujuanChen Nov 10, 2023
e51b2dd
fetch details page
XujuanChen Nov 10, 2023
b14c4c0
Merge pull request #22 from XujuanChen/chen_develop
XujuanChen Nov 10, 2023
7bd5184
filter search
XujuanChen Nov 10, 2023
82f5f71
Merge pull request #23 from XujuanChen/chen_develop
XujuanChen Nov 10, 2023
b421a58
Update milestone4.md
XujuanChen Nov 10, 2023
ba82392
Update README.md
XujuanChen Nov 10, 2023
250275c
Update README.md
XujuanChen Nov 10, 2023
6ba560e
Update README.md
XujuanChen Nov 10, 2023
94be7d2
Update README.md
XujuanChen Nov 10, 2023
0962cb6
Update README.md
XujuanChen Nov 10, 2023
6ce601c
fixed bugs
XujuanChen Nov 11, 2023
b8d958f
Merge pull request #24 from XujuanChen/chen_develop
XujuanChen Nov 11, 2023
08a4063
CRUD on frontend
XujuanChen Nov 12, 2023
635cf40
Merge pull request #25 from XujuanChen/chen_develop
XujuanChen Nov 12, 2023
d2798ef
Update README.md
XujuanChen Nov 12, 2023
f625f62
updated
XujuanChen Nov 14, 2023
3355e8f
Merge pull request #26 from XujuanChen/chen_develop
XujuanChen Nov 14, 2023
0a68d7f
Update README.md
XujuanChen Nov 14, 2023
1b97ca8
fixing ui and reviews, validating data before submitting
YevheniyaSolomyana Nov 16, 2023
38bd703
Merge pull request #27 from XujuanChen/zhenya
YevheniyaSolomyana Nov 16, 2023
8d140b6
login
XujuanChen Nov 16, 2023
45716ea
Merge branch 'main' into chen_develop
XujuanChen Nov 16, 2023
48a3238
Merge pull request #28 from XujuanChen/main
XujuanChen Nov 16, 2023
7acab91
Create Avatar.jsx
XujuanChen Nov 16, 2023
da7a0b2
Update Avatar.jsx
XujuanChen Nov 16, 2023
52a4229
Create Avatar.css
XujuanChen Nov 16, 2023
79a3f4e
Update AddBook.jsx
XujuanChen Nov 16, 2023
faff066
Update AddReview.jsx
XujuanChen Nov 16, 2023
5c8f6c6
Update BookDetails.jsx
XujuanChen Nov 16, 2023
8bde88a
Update EditBook.jsx
XujuanChen Nov 16, 2023
e4c5a03
Update EditReview.jsx
XujuanChen Nov 16, 2023
685dda9
Update Home.jsx
XujuanChen Nov 16, 2023
773772c
Update ReadReview.jsx
XujuanChen Nov 16, 2023
318ed10
Create Login.jsx
XujuanChen Nov 16, 2023
090e875
Update App.jsx
XujuanChen Nov 16, 2023
3cbac98
Update package.json
XujuanChen Nov 16, 2023
c4b1746
Update package-lock.json
XujuanChen Nov 16, 2023
5467157
Create auth.js
XujuanChen Nov 16, 2023
2a7ff23
Update reset.js
XujuanChen Nov 16, 2023
53b547d
Create users_books.js
XujuanChen Nov 16, 2023
162f4a8
Create auth.js
XujuanChen Nov 16, 2023
a71bc46
Create users_books.js
XujuanChen Nov 16, 2023
9adc774
Update package.json
XujuanChen Nov 16, 2023
7a3c700
Update package-lock.json
XujuanChen Nov 16, 2023
b0d5013
Update server.js
XujuanChen Nov 16, 2023
62fb203
Create Avatar.jsx
XujuanChen Nov 16, 2023
d618d40
Update Avatar.jsx
XujuanChen Nov 16, 2023
cdca3c6
Create Avatar.css
XujuanChen Nov 16, 2023
89993dd
Update AddBook.jsx
XujuanChen Nov 16, 2023
b0d8b14
Update AddReview.jsx
XujuanChen Nov 16, 2023
6060f79
Update BookDetails.jsx
XujuanChen Nov 16, 2023
9719bb2
Update EditBook.jsx
XujuanChen Nov 16, 2023
f34f6e3
Update EditReview.jsx
XujuanChen Nov 16, 2023
e50a3a9
Update Home.jsx
XujuanChen Nov 16, 2023
b18a07f
Update ReadReview.jsx
XujuanChen Nov 16, 2023
be0dd7a
Create Login.jsx
XujuanChen Nov 16, 2023
c3fd521
Update App.jsx
XujuanChen Nov 16, 2023
3ef7be0
Update package.json
XujuanChen Nov 16, 2023
11b252a
Update package-lock.json
XujuanChen Nov 16, 2023
01cc2ff
Create auth.js
XujuanChen Nov 16, 2023
a8201f8
Update reset.js
XujuanChen Nov 16, 2023
8267416
Create users_books.js
XujuanChen Nov 16, 2023
19b84fc
Create auth.js
XujuanChen Nov 16, 2023
bcc7d33
Create users_books.js
XujuanChen Nov 16, 2023
df0ebf5
Update package.json
XujuanChen Nov 16, 2023
492ab4b
Update package-lock.json
XujuanChen Nov 16, 2023
81a218e
Update server.js
XujuanChen Nov 16, 2023
cb62f68
login
XujuanChen Nov 16, 2023
b676812
authentication works
XujuanChen Nov 17, 2023
3873137
Merge branch 'development' into chen_develop
XujuanChen Nov 17, 2023
0c49382
Merge pull request #30 from XujuanChen/chen_develop
XujuanChen Nov 17, 2023
c0298dd
edit review
XujuanChen Nov 17, 2023
2ec341a
finished ui
YevheniyaSolomyana Nov 17, 2023
b64a9b3
Merge pull request #31 from XujuanChen/zhenya
YevheniyaSolomyana Nov 17, 2023
3c6d8ff
finished ui
YevheniyaSolomyana Nov 17, 2023
14442bb
front
XujuanChen Nov 17, 2023
df2a000
Merge pull request #32 from XujuanChen/chen_develop
XujuanChen Nov 17, 2023
9c4a581
URL
XujuanChen Nov 17, 2023
70bd6bb
npm start
XujuanChen Nov 17, 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
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
.env

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
79 changes: 63 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,95 @@
# [your app name here]
# ReadRave

CodePath WEB103 Final Project

Designed and developed by: [your names here]
Designed and developed by: Xujuan Chen & Yevheniya Solomyana

🔗 Link to deployed app:

## About

### Description and Purpose

[text goes here]
ReadRave is a vibrant and engaging platform designed for book enthusiasts of all backgrounds. Whether you're an avid reader, a casual book lover, or simply someone in search of your next great read, ReadRave is the go-to destination to connect, share, and explore the wonderful world of literature. With ReadRave, you can discover new books, express your thoughts through reviews, and connect with fellow book lovers who share your passion for reading.

1. **Book Discovery**: ReadRave is your personal literary guide, helping you discover new books across a wide range of genres. Explore book recommendations and reviews from like-minded readers to find your next captivating read.

2. **Share Reviews**: Express your thoughts and opinions about books you've read through detailed reviews. Help others make informed decisions and share your insights about the books you love.

3. **Community Connection**: Connect with fellow book enthusiasts from around the world. Share your reading experiences, engage in discussions, and build connections with readers who share your interests.

4. **Reader Ratings**: Access comprehensive book ratings and reviews to help you make informed decisions when selecting your next book. Contribute to the community by rating books you've read.

### Inspiration

[text goes here]
ReadRave was born out of a deep-seated love for books and the shared belief that reading is not a solitary act, but a voyage that becomes even more enriching when experienced together. Our inspiration for this app stems from the profound impact that literature has on our lives and the communities it creates.

The beauty of a good book lies not only in its pages but in the conversations, connections, and emotions it sparks. It's about the shared exhilaration of discovering an enthralling plot, the thrill of delving into a thought-provoking story, and the warmth of discussing beloved characters with others who understand.

Join us on this extraordinary literary expedition, where the inspiration is the love of reading, and the destination is an ever-expanding world of stories and connections. Welcome to ReadRave, where books inspire, and readers unite.

## Tech Stack

Frontend:
Frontend: React.js

Backend:
Backend: Express, PostgreSQL

## Features

### [Name of Feature 1]
### Baseline Features
Complete all of the baseline features. These features use the core skills developed in this course, including designing a database schema, creating a server, and connecting a frontend to the server.

- [✅] The web app includes an Express backend app and a React frontend app.
- [✅] The web app includes dynamic routes for both frontend and backend apps.
- [ ] The web app is deployed on Railway with all pages and features working.

Backend Features

- [✅] The web app implements at least one of each of the following database relationships in Postgres:
- [ ] one-to-many
- [✅] many-to-many with a join table
- [✅] The web app implements a well-designed RESTful API that:
- [✅] Can respond to at least one of each type of request: GET, POST, PATCH, and DELETE.
- [✅] Implements proper naming conventions for routes.
- [✅] The web app implements the ability to reset the database to its default state.


Frontend Features

- [✅] The web app implements at least one redirection.
- [✅] The web app implements at least one interaction that the user can initiate and complete on the same page without navigating to a new page.
- [✅] The web app uses dynamic frontend routes created with React Router.
- [✅] The web app uses hierarchically designed React components:
- [✅] Components are broken down into categories, including page and component types.
- [✅] Corresponding container components and presenter components as appropriate.


### Custom Features

Choose two custom features to include in your app. These features will make your app stand out with a more custom look and functionality.

- [✅] The web app allows filtering and/or sorting as appropriate for your use case.
- [ ] Data submitted via a POST or PATCH request is validated before the database is updated.


## Video Walkthrough

[short description goes here]
Here's a walkthrough of implemented required features:

[gif goes here]

### [Name of Feature 2]

[short description goes here]
![reviewbook](https://github.com/XujuanChen/web103_finalproject/assets/109524796/b493a1e4-a02e-4d0f-af88-ee023ff02aeb)

[gif goes here]

### [Name of Feature 3]

[short description goes here]

[gif goes here]
<!-- Replace this with whatever GIF tool you used! -->
GIF created with ... GIF tool here
<!-- Recommended tools:
[Kap](https://getkap.co/) for macOS
[ScreenToGif](https://www.screentogif.com/) for Windows
[peek](https://github.com/phw/peek) for Linux. -->

### [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
20 changes: 20 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/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 },
],
},
}
24 changes: 24 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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?
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" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ReadRave</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading