spencerlepine / woofer

Dating app for pets - a full stack MERN project. Complete with CI/CD pipeline w/ Jest, GitHub Actions, Docker Hub, and AWS EC2
https://youtu.be/aiJhCoZRc78
2 stars 1 forks source link

deny invalid server & firebase connections #84

Closed spencerlepine closed 2 years ago

spencerlepine commented 2 years ago

Overview

Created a status check in the frontend and loading spinner. Should only load the app when the server is running, and firebase has a valid config. E2E tests will expect the Navbar to load, but the .navbar will only load if the status checks pass.

Also added the development repository secrets, so it will build the docker images with the actual development firebase API keys, and should fail the E2E tests since navbar wouldn't load.

Ticket

Trello Ticket: #132 Issue #80 Issue #83

Status Check Component

Screen Shot 2022-05-02 at 5 42 13 PM