fireactjs / saas

A fully functional React web application for SaaS projects. It's built with React, Firebase and Stripe.
476 stars 177 forks source link

Issue with deployment #25

Closed wowan90 closed 2 years ago

wowan90 commented 3 years ago

I followed all the steps in the documentation. I get following screen (as well if I run the project locally)

image

Any idea?

chaoming commented 3 years ago

Looks like you are using the Firebase serve command. Try npm start and access localhost:3000.

wowan90 commented 3 years ago

Hello Chaoming,

thanks for your reply.. I could finally fix the problem. It was the same issue with the build/public folder like already mentioned before.

Now I run into the next issue. Once the login page is loaded.. and i try to login i get following screen and the page is not continuing loading..

image

Here is also the live linke for my deployment on firebase. https://contentbot-saas.web.app/

After refreshing the page I get following screen..

image

Any idea? Thanks in advance.

chaoming commented 3 years ago

Have you deployed the firebase rules and the cloud functions? You need both to make it work on the server side.

wowan90 commented 3 years ago

Yes I did,

Firebase rules!

image

Webhooks - Stripe:

image

Webhooks - Firebase - Functions

image

Plans:

image

I did everything step by step.

chaoming commented 3 years ago

The domain in your screenshot and the domain in the error message don't match. Are they the same project?

chaoming commented 3 years ago

The error says the firestore rules deny access to the database.

chaoming commented 3 years ago

Have a similar issue last week. It turns out that's related to the antivirus software and the firewall. @wowan90 , maybe try to disable your antivirus and firewall to test the connection to Firestore?