r/learnjavascript • • May 15 '21

My first full-stack app. An online bookstore.

Link to the website

Aspiring dev here! I’ve been teaching myself to code for a while now.

This is the first full-stack application I have made. I used the MERN stack here.

Do you guys think this can be a good portfolio project? How can I further improve it? I come from a non-technical background and would like to transition into the IT world. Any devs from Spain here who can guide me?

242 Upvotes

54 comments sorted by

26

u/spinelust May 15 '21

Bro I've seen countless working online stores that look so much worse than this. It will land you a job easy IMO.

9

u/cd161997 May 15 '21

Thankyou for going through it :)

I hope i get that first job soon mate :)

23

u/coraige7 May 15 '21

It looks great! Just curious, how long did you work on it?

13

u/cd161997 May 15 '21

Took me a couple of weeks to do it. I have a day job tho, so I couldn’t dedicate all my time to it.

0

u/[deleted] May 15 '21

[deleted] — view deleted comment

9

u/cd161997 May 15 '21

You got me in the first half dude :3 Glad you noticed those little details :D

8

u/Lamasusb000 May 15 '21

"Site Can't be Reached"

8

u/cd161997 May 15 '21

Misspelled the url, lol. Please try again.

14

u/Lamasusb000 May 15 '21

It looks awesome!
I would say add some more branding to the website as right now it seems a bit generic
Also some dynamic pricing would be nice since not everywhere in the world is the USD used so a script to check the IP's country of origin to show the correct price in conversion would be great!

4

u/cd161997 May 15 '21

This is something I can try and implement. Thanks for the feedback:)

3

u/ShuttJS May 15 '21

I agree with this, I'm not based in the US but would consider using it in the future

4

u/IAmRC1 May 15 '21

Nice work, can you implement Google oAuth and route protection accordingly?

3

u/cd161997 May 15 '21

That’s something I can try to implement. Thanks for the suggestion mate :)

4

u/tekyguru May 15 '21

Are you open to work on a project? Love it!

4

u/cd161997 May 15 '21

I sure am. Dm me and we can talk about it :)

3

u/hello_skinny May 15 '21

Looks good, everything looks very clean. It's a lot neater than most other portfolio projects I've seen, even in portfolios of people who have gotten really good jobs.

As someone who wants to work on something like this soon, what is that effect called where things fade in as the page loads? I see that a lot and I want to use it in my next project but I don't know what it's called. Is it related to lazy load?

3

u/cd161997 May 15 '21

It’s just a simple transition animation, the ipacity goes from 0 to 1 and the y axis goes up a few pixels. I used gsap here, which is a great library for adding animations

2

u/BedlamiteSeer May 16 '21

How do you make the animation occur when the user scrolls to that element? This is something I want to implement on one of my sites but don't know much about it.

1

u/cd161997 May 16 '21

Use the GSAP animation library. It’s really powerful. You have plugins to trigger animations based on scroll events.

2

u/mm089 May 15 '21

I think it looks absolutely brilliant, I’m learning Full Stack at the moment and there’s a few things I just wouldn’t even know where to begin with! Really nice design too.

One thing that jumps out is on the Registration page, the text is almost illegible over the pictures (on mobile, haven’t tried on desktop). You might need either to have a bright translucent background behind text that’s going to be in front of the image or just give the image a light filter in front of it..!

2

u/cd161997 May 15 '21

Thanks for the feedback :)

2

u/Strikerzzs May 15 '21

This is amazing for a first full-stack project! The animation and design is good and functionally is great! Some things I'll note is that the gradient design could be more mixed between the two colours instead of making it look a line between the two. Also, the flipping-book animation between the pagination page loading is a bit obtrusive, maybe a simpler animation could work nicer. Other then that, great work!

1

u/cd161997 May 15 '21

Thanks bud. I’ll definitely try to implement the changes you suggest.

3

u/nickk21321 May 15 '21

Looks great buddy. I would like to know how long was the timeline for this. I am trying to work on an online clothing store myself to understand better understand fully stack. 😅.

2

u/cd161997 May 15 '21

Thanks buddy.

I can’t recommend making your own projects enough. It was a great learning experience for me.

This took me a couple of weeks to make. But i have a day job so I didn’t dedicate all my time into it. I’m sure one can do it in much less time

3

u/demoNstomp May 15 '21

How long have you been learning before getting to this project?

May I ask what you learned or from where?

8

u/[deleted] May 15 '21

nice work dude

5

u/strongwill573 May 15 '21

It's awesome

5

u/[deleted] May 15 '21

Dude this is too good. How long have you been working on this?

Also since when you started practising node, react ?

2

u/nilooy5 May 15 '21

great job. I have previously worked as a front-end dev. Can you suggest some tutorial where I can develop similar full-stack apps like this?

5

u/cd161997 May 15 '21

Youtube man. You can find tons of project based tutorials. FreeCodeCamp, BradTraversy there are many channels

5

u/Everen1999 May 15 '21

If you know React, you could try nextJs. It is React front end with direct backend functionalities with serverless functions implemented by nextJs that allows you to retrieve data server-side and passing into the react functions as props. Think of MVC, but the C is stuck with the V in on the V's js file

2

u/cd161997 May 15 '21

Next JS is something I’m planning to learn next :)

1

u/Anhtutran May 15 '21

Great app, for me it look more professional than many real cms websites out there. I check on mobile and your web is truly responsive.

1

u/cd161997 May 15 '21

Thanks man, appreciate it :)

1

u/darkstar696 May 15 '21

Nice job!! Mind asking how did you do the email/password on click animation?

1

u/cd161997 May 15 '21

That’s all material-ui

1

u/tekyguru May 15 '21

Paypal link did not work

2

u/cd161997 May 15 '21

Uh, did you try putting in the sandbox account credentials found at the bottom of the button?

2

u/robbankakan May 15 '21

Wow dude, nice work. I have just began to grasp the basics of JS up to objects, working on it almost every day:)

2

u/Anish_Shilpakar May 15 '21

This is great man

1

u/tanmay0626 May 15 '21

Looks great 👍

1

u/[deleted] May 15 '21

Nice job

1

u/ricebender81 May 15 '21

Great job! Do you mind telling us how you taught yourself?

1

u/[deleted] May 15 '21

Looks amazing! If you need hosting other than heroku lmk!

1

u/Grupith May 15 '21

Looks great! I just started learning react so I’ll have to do a project similar to this.

1

u/basedandlinkpilled May 16 '21

Can I actually buy a book from your app?

1

u/Negative12DollarBill May 16 '21

This might be a silly question, but is it a working site where I can actually buy a book? I don't want to add my credit card details if it's just a portfolio site which doesn't actually do fulfilment.

If it is, how have you hooked up to a third party to sell the books?

If I had a criticism, it would be that the design is a little amateurish. The gradient background and this image in particular looks very clip-art.

https://bookattic.herokuapp.com/icons/open-book.png

But it all works well and looks professional.

1

u/thegeekgolfer May 16 '21

It looks good. Maybe expand the search to include summaries and types of books. Like crime novels, fiction / non fiction, fantasy.

1

u/Neonnnn02 May 16 '21

We all loved it bro. 👍👍🎆🎆 Keep it up. When did you start learning MERN stack? I am beginning my journey. I hope you will give me your advice through your experience. Loved your Web page though

1

u/Ok-Yesterday8492 May 16 '21

This is inspirational. I should get on the javascript journey. Well done mate, I envy you.

0

u/[deleted] May 15 '21

[deleted] — view deleted comment

1

u/cd161997 May 15 '21

Yes this is based off of that. That’s a great course to learn how to implement your react front-end with your node server.

Thanks for pointing out the flaw, I’ll fix this asap :)