feat(api): enhance API configuration and add new scripts#7
Merged
Conversation
- Updated `apiUrl` in Nuxt config to fallback on `process.env.API_URL` for better local development support. - Modified `predev` script in both admin and app package.json to include a wait-for-swagger script for improved build reliability. - Introduced `docker-up.sh` script to handle Docker compose errors more gracefully during local development. - Added `wait-for-swagger.mjs` script to ensure the API is fully started before proceeding with the build process. - Enhanced API schemas and types to support new features, including bulk import from archives and file deletion capabilities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FIXES for easy init ranch app
prisma generatewasn’t run afterprisma-import→ regenerated it; fixed viapretest.docker compose uperrors were buried in the Turbo logs → added a script with explicit diagnostics of the cause.