DEV Community

loading...
Cover image for How is My first ReactJs Book-store app?

How is My first ReactJs Book-store app?

Shubham Kumar
Frontend Developer | React.js | JavaScript 😎
Updated on ・1 min read

I had created this Book store app using React Js, I had not used redux in it (still have to learn it) is only React js, the backend server is hosted on heroku using Node js, it took me almost one month to finish this project, initially I planned to add more functionality to it but the amount of code (long list of state & props) was just increasing and I was overwhelmed with it, I will include this project in my portfolio, & it may not look nice in mobile devices as spent less time to make it responsive.

github link: https://shubham2270.github.io/book-store-app/

If anyone have time to look at my code & do advice how can I make my code more short & cleaner

Note: You can use following username & password to login
username : teddy@gmail.com
password : teddy

Discussion (6)

Collapse
emma profile image
Emma Goto 🍙 • Edited

Nice job keeping at it for one month! I took a quick look at your code (I hope you don't mind) and I agree with you that the list of state/props is overwhelming in the App.js file. I think one way you could improve this is to think about whether the code/state needs to live in that file, or if it could live in any one of your sub-components.

e.g. I can see that the disabledStatus state and emptyDescription() function could be moved down to live in HomePage.js. Moving where the state is defined also saves you from having to pass it down through all your components as props.

Collapse
shubham2270 profile image
Shubham Kumar Author

Thanks for suggestions i'll look into it 😊

Collapse
xchangrey profile image
Christian Geroy

Cool! Was able to get every author/title I searched for.

Collapse
shubham2270 profile image
Shubham Kumar Author • Edited

Thanks, because I'm using the google books API 😀

Collapse
j3ffjessie profile image
J3ffJessie

Looks and performs great. Not atrocious on mobile either. Found every author I put in without issue from Faulkner to Poe and a couple indie authors. Very well done.

Collapse
deniellejasman profile image
deniellejasman

hey i was wondering if you could show me how you did this? im trying to create a web app like this but it will be a book exchange as well! i would be soooo great full for the help!