Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend doesnt build #96

Closed
daddydrac opened this issue Jan 7, 2020 · 4 comments
Closed

Backend doesnt build #96

daddydrac opened this issue Jan 7, 2020 · 4 comments

Comments

@daddydrac
Copy link

daddydrac commented Jan 7, 2020

Problem persists when after you add admin and pass for user in cookiecutter steps, DB and connections fail. Browser console also outputs this:

Request URL: http://localhost/docs
Request Method: GET
Status Code: 404 Not Found

AND

Request URL: http://localhost/api/v1/login/access-token
Request Method: POST
Status Code: 404 Not Found
Remote Address: [::1]:80

@acidjunk
Copy link

acidjunk commented Jan 17, 2020

Had the same issue: #84 seems to be related. (at least in my case: the upgrade to pydantic 1.0.0 changes some imports). The workaround in #84 works to get a running backend but it will yield new errors when you try to edit a user or when trying to reset a user. I will try to create a PR for that.

#88 seems to have fix

@daddydrac
Copy link
Author

@acidjunk Should i do a git pull to update?

@tiangolo
Copy link
Member

Thanks for the help @acidjunk ! 🍰

If this was related to those issues, this should be fixed in master, so you could re-generate the project with the new changes.

Otherwise, the best way to debug it would be to check your logs.

@github-actions
Copy link

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

alejsdev pushed a commit that referenced this issue Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants