DEV Community

Cover image for My First React App Deployed on Firebase: Dog Facts
Mukund Raghav Sharma (Moko)
Mukund Raghav Sharma (Moko)

Posted on

4

My First React App Deployed on Firebase: Dog Facts

Introduction

After developing and deploying my first Javascript based API that I wrote about here, I decided to create a a simple frontend for the API with React.js. Once the application was complete, I deployed it to firebase: https://dog-facts-2277d.web.app/.

Development

What made development smooth was learning about:

  1. React Components
  2. BEM Naming Convention
  3. Tutorial on CSS Flex Box

Additionally, making use of react-bootstrap's Card component simplified a lot of the styling of the individual facts. Granted this website is incredibly simple, I am still happy with the results:

Image description

The Github repo for this project can be found here

Deployment

Deployment with Firebase was a breeze. I used the Firebase CLI to easily initialize the project and then deploy. What was cool was the integration with Github using Actions i.e. with each push there is an automatic deployment of the new app.

Conclusion

Any feedback would greatly be appreciated!

Top comments (3)

Collapse
 
mrsharm profile image
Mukund Raghav Sharma (Moko) •

Thanks! Own, the link seems broken, could you post again? Typescript is definitely on my things to learn.

Collapse
 
diegofranco2001 profile image
DiegoFranco2001 •

Yes, we're developers, but some concepts of UI will be great for any website ;D

Collapse
 
midir99 profile image
midir99 •

Hey bro nice job!

I think that an enhancemente would be that instead of commits for new deployments it would be merge requests to master.

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay