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

Feature request: Is there a plan to support FastAPI + SQLAlchemy for backend APIs? #2454

Open
sanjayk-github-dev opened this issue Jan 14, 2025 · 6 comments
Assignees

Comments

@sanjayk-github-dev
Copy link

No description provided.

@sanjayk-github-dev sanjayk-github-dev changed the title Feature request: Is there a plan to support FastAPI + SQLAlchemy for backend APIs instead of NodeJS + Prisma? Feature request: Is there a plan to support FastAPI + SQLAlchemy for backend APIs? Jan 14, 2025
@gy15901580825
Copy link

Yes, the same demand here

@sodic sodic self-assigned this Jan 22, 2025
@sodic
Copy link
Contributor

sodic commented Feb 5, 2025

@sanjayk-github-dev @gy15901580825 Thanks for the patience!

From what I know, FastAPI and SQLAlchemy are both tools in the Python ecosystem. Wasp is a JS framework, so I'm not sure where these would fit in. There are future plans to expand this (#1074), but it's not a priority.

Why do you need FastAPI and SQLAlchemy? What are you building with Wasp?

@sanjayk-github-dev
Copy link
Author

@sodic you are right, both these tools are pretty popular in the Python ecosystem for backend API development. FastAPI provides REST API to frontend which can be easily integrated with JS framework. However I can understand if it's not a priority.

@sodic
Copy link
Contributor

sodic commented Feb 6, 2025

Oh, I see.

Tehcnically, there's nothing stopping you from building an API with FastAPI and connecting it to Wasp's frontend (at the end of the day, it's just React).

If you need help or get stuck, ask a question in our Discord and someone from the team will help you out.

@sanjayk-github-dev
Copy link
Author

True, that should be feasible but I feel one won't get the benefit of wasp platform unless it is a first-class citizen of the platform.

@sodic
Copy link
Contributor

sodic commented Feb 7, 2025

@sanjayk-github-dev Yes, that's right.

But yeah, supporting an additional runtime is a huge undertaking and not something we can do right now unfortunately. You can keep following the issue I linked above if you're interested in how this plays out :)

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