tiangolo / full-stack-fastapi-couchbase

Full stack, modern web application generator. Using FastAPI, Couchbase as database, Docker, automatic HTTPS and more.
MIT License
441 stars 84 forks source link

Can't login in the forntend #4

Closed zero0nee closed 5 years ago

zero0nee commented 5 years ago

Thanks again for a truly AWESOME project!

I've successfully run:

docker-compose up -d

However, when I go to http://localhost, I can't login with the credentials a choose. I'm assuming I'm supposed to use first_superuser and first_superuser_password . Have I missed a step after running docker-compose , or is it a bug?

tiangolo commented 5 years ago

Thanks again for a truly AWESOME project!

Awesome! I'm glad it's being useful!


Yes, you are supposed to log in with the credentials created as First Superuser and the corresponding password. Check at http://localhost/docs first, make sure you can authorize there, then check the frontend logs in Chrome Developer Tools.

But make sure you can see the docs and log in at http://localhost/docs first.

zero0nee commented 5 years ago

Thanks! That solved the issue. :)

tiangolo commented 5 years ago

Awesome! I'll close this issue now then. But feel free to add more comments or create new issues.

VoldemortGin commented 4 years ago

Hi tiangolo, Thank you for this wonderful project.

I have the same problem and I just couldn't enter http://localhost/docs to see what happened.

I actually followed the steps. Just I use pip install -r requirements.txt (I copy from the pyproject.toml file) to replace poetry install.

Is there anything I missed? Thank you in advance.

tiangolo commented 3 years ago

Hey @VoldemortGin, I'm sorry, I'm no longer using Couchbase, so I wouldn't really know how to help you. :pensive: :coffee: