DEV Community

Cover image for How is My first ReactJs Book-store app?
Shubham Kumar
Shubham Kumar

Posted on • Updated on

How is My first ReactJs Book-store app?

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:

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 :
password : teddy

Top comments (7)

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.

shubham2270 profile image
Shubham Kumar

Thanks for suggestions i'll look into it 😊

xchangrey profile image
Christian Geroy

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

shubham2270 profile image
Shubham Kumar • Edited

Thanks, because I'm using the google books API πŸ˜€

j3ffjessie profile image

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.

amisha2002 profile image
Amisha Kulkarni

After registering myself, it is not able to login :(

deniellejasman profile image

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!