mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-21 22:33:33 +08:00
* Reorganize project directory structure * Allow edit users/items, add useAuth and useCustomToast, password confirmation * Minor improvements for consistency * Add 'Cancel' button to UserInformation in editMode * Refactor UserSettings * Enable user password changes and improve error handling * Enable user information update * Add logout to Sidebar in mobile devices, conditional tabs depending on role and other improvements * Add badges * Remove comment * Appearance tab updates * Change badge color * Reset inputs when clicking on 'Cancel' button * Disable actions menu for Superuser when logged in * Modify Logout and update stores
Full Stack FastAPI and PostgreSQL - Frontend
Generate Client
- Start the Docker Compose stack.
- Download the OpenAPI JSON file from
http://localhost/api/v1/openapi.jsonand copy it to a new fileopenapi.jsonnext to thepackage.jsonfile. - To simplify the names in the generated frontend client code, modifying the
openapi.jsonfile, run:
node modify-openapi-operationids.js
- To generate or update the frontend client, run:
npm run generate-client