r/reactjs • • Jan 29 '20

Show /r/reactjs My portfolio website using next.js

Hey everyone! I just made my personal website using next js. I'd be very happy if you guys could take a look at it and provide feedback.

https://iabhishek.dev.

Thanks!

93 Upvotes

70 comments sorted by

View all comments

Show parent comment

1

u/abhi12299 Jan 29 '20
  1. There isn't any utils route. It is just a folder in my repo containing helper functions, being used in dev and prod.
  2. The way I create a blog post is I use a rich text editor that gives me HTML for the article. That's why I use dangerousltSetInnerHTML.
  3. I used redux because it simplifies data flow throughout my app. There are a few keys that I'd like to access across different components in the dom tree. The admin page is not dev only. It's accessible via /dashboard route.
  4. I know about docker and docker compose but I didn't set it up because the machine I work on is provided by my company (Mac) but I won't have it for long and my personal machine is windows 10 home where docker doesn't work. Also for deploying docker apps I'd have to use beanstalk which costs more than traditional ec2 approach. Although I'd do it for setting up dev environment easily.