This repository was archived by the owner on Sep 8, 2024. It is now read-only.
Tags: Achronus/create-api-app
Tags
Add `exclude` parameter to project creation Major additions: - '.env.local' updated dynamically based on 'exclude' value - 'uploadthing' files split into separate folder in 'setup_assets'. Only added to project when required - Add logic to remove 'uploadthing' remote pattern from 'next.config.mjs' - Add logic to remove 'exclude' packages from 'package.json' Minor additions: - Split 'not sure where to start?' output into sections and add items to it - Add style replacement for 'shadcn/ui': 'new-york' -> 'default'
Resolve bugs and improve template Fixed bugs: 1. 'next.config.mjs' error [issue #6] - update 'loadEnv' to check for '.env.local' in frontend and root + apply output to 'nextConfig.env' 2. 'module not found error' [issue #7] - remove import declarations Backend improvements: - Wrap project creation in 'try-except' and return errors to console Frontend improvements: - Add 'options' prop to 'useFetchData' hook - Refactor 'useFetchImgs' to use 'useFetchData' to simplify - Refactor `useUpdateQueryString` to utility methods in `lib/queries.ts`
Update backend runtime, backend-frontend connection, and console output - Change 'API_URL' to a specific localhost port for simplicity and rename it for clarity - Add 'update me' not to backend 'settings.py' for clarity - Update docstring for 'ExampleDB' in backend for clarity - Refactor backend 'build.py' -> 'start.py' and move into project for 'app' directory for Poetry script configuration - Add details in console, after project build, to inform next steps - Update backend run command to 'app-start' - Update README
PreviousNext