Different convex folder
Can I put my backend source code files into a folder that's called something else than "convex"?
1 Reply
Yes, you can put your backend source code files into a folder with a different name than "convex". To do this, you can modify the
convex.json
file at the root of your project.
For example, if you're using Create React App and want to put your backend source code files in a folder named "backend", you can update the convex.json
file like this:
This configuration tells Convex to look for backend source code files in the "src/backend/" directory. Make sure to update the folder path accordingly based on your desired folder name.
Check out these docs:
https://docs.convex.dev/production/project-configurationProject Configuration | Convex Developer Hub
Local development