Skip to content
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

Project Happy thoughts - Tess Aquilon #453

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
28 changes: 23 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
# Happy Thoughts

Replace this readme with your own information about your project.
In week 7, the task was to build a front-end for a public API used to collect 'happy thoughts', using React. Later on in week 15, we built our own API and hooked it up with the front-end built in week 7.

Start by briefly describing the assignment in a sentence or two. Keep it short and to the point.
## The brief

## The problem
In this week's project, you'll be able to practice your React state skills by fetching and posting data to an API.

Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next?
**What you need to do**

✓ Your page should follow the design as closely as possible

✓ You should list the most recent thoughts at the top and older thoughts at the bottom (sorted)

✓ Your thoughts should show the content of the message and how many likes they've received

✓ You should have a form to post new thoughts

✓ You should implement the heart button to send likes on a thought

## View it live
Front-end:
https://hilarious-concha-fcce10.netlify.app/
Back-end:
https://project-happy-thoughts-api-sfjig4oswa-lz.a.run.app/

## What improvements I'd like to add in the future

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.
- Infinite scrolling
- A delete endpoint for deleting thoughts
- Animations to the thought cards
201 changes: 187 additions & 14 deletions code/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@lottiefiles/react-lottie-player": "^3.5.3",
"babel-eslint": "^10.1.0",
"date-fns": "^2.30.0",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
Expand Down
20 changes: 19 additions & 1 deletion code/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,25 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Technigo React App</title>
<!-- Primary Meta Tags -->
<title>Nino's Happy Thoughts</title>
<meta name="title" content="Nino's Happy Thoughts">
<meta name="description" content="A full-stack application made with MongoDB, Express.js, React.js and Node.js.">
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:image" src="">
<script
src="https://kit.fontawesome.com/60b4602649.js"
crossorigin="anonymous"></script>

<!--Miriam Libre-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Miriam+Libre&display=swap" rel="stylesheet">
<!--Khand-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Khand&display=swap" rel="stylesheet">
</head>

<body>
Expand Down
Loading