Skip to content

AAyinkx/Week-7-Full-Stack-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Week7 Assignment Reflection: Book Reviews Site πŸ“–

  • My SQL queries are in a file in my server

WireFrames

alt text alt text

Database Schema

alt text alt text

  • I didn't actually get to the point where I could use the second table because I faced a lot of errors but I had a go at the sorting queries instead

Client Link

Server Link

Help Links

Reflection

  • I think this week's assignment was actually quite challenging due to how many different part we had to do. I also struggled a lot with setting up the connections initially which took me the longest time
  • I set up all my connections on a call with someone else because we found that it was a lot easier to spot mistakes and it made the process a lot smoother
  • One thing that i found was that when i deployed my site to Render, if you refreshed on an endpoint, it would return as 'PageNotFound". Is this because react doesn't actually "Create" endpoints? So when we actually deploy our site those endpoints don't exist?

What bugs did I encounter? πŸͺ²

  • Initially, when setting up the POST endpoint, i came across a lot of issues becuase I had written my status error incorrectly so it kept going straight to the catch statement
  • I also had an issue with broken images image tags when displaying my reviews. I found i useful site to handle onError which allowed me to displa a default image if this happened.
  • I had some issues with the react-router-dom because I forgot to import 'BrowserRouter' into my main.jsx πŸ€¦β€β™€οΈ

About

Book reviews site πŸ“–

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors