You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alejandra 11c09b50b2
Migrate to TanStack Query (React Query) and TanStack Router (#637)
1 year ago
..
src Migrate to TanStack Query (React Query) and TanStack Router (#637) 1 year ago
.dockerignore ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
.env Migrate to TanStack Query (React Query) and TanStack Router (#637) 1 year ago
.eslintrc.cjs ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
.gitignore ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
Dockerfile ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
README.md ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
index.html ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
modify-openapi-operationids.js ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
nginx-backend-not-found.conf ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
nginx.conf ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
package-lock.json Migrate to TanStack Query (React Query) and TanStack Router (#637) 1 year ago
package.json Migrate to TanStack Query (React Query) and TanStack Router (#637) 1 year ago
tsconfig.json ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
tsconfig.node.json ♻ Move project source files to top level from src, update Sentry dependency (#630) 1 year ago
vite.config.ts Migrate to TanStack Query (React Query) and TanStack Router (#637) 1 year ago

README.md

Full Stack FastAPI and PostgreSQL - Frontend

Generate Client

  • Start the Docker Compose stack.
  • Download the OpenAPI JSON file from http://localhost/api/v1/openapi.json and copy it to a new file openapi.json next to the package.json file.
  • To simplify the names in the generated frontend client code, modifying the openapi.json file, run:
node modify-openapi-operationids.js
  • To generate or update the frontend client, run:
npm run generate-client