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 e4a4bed5b6
Add form validation to Admin, Items and Login (#616)
1 year ago
..
public Set up new frontend with Vite, TypeScript and React (#563) 2 years ago
src Add form validation to Admin, Items and Login (#616) 1 year ago
.dockerignore 🐳 Set up Docker config for new-frontend (#564) 2 years ago
.eslintrc.cjs Set up new frontend with Vite, TypeScript and React (#563) 2 years ago
.gitignore Set up new frontend with Vite, TypeScript and React (#563) 2 years ago
Dockerfile 🐳 Set up Docker config for new-frontend (#564) 2 years ago
README.md Add client in frontend and client generation (#569) 2 years ago
index.html Add Login to new frontend (#585) 2 years ago
modify-openapi-operationids.js Add client in frontend and client generation (#569) 2 years ago
nginx-backend-not-found.conf 🐳 Set up Docker config for new-frontend (#564) 2 years ago
nginx.conf 🐳 Set up Docker config for new-frontend (#564) 2 years ago
package-lock.json Add client in frontend and client generation (#569) 2 years ago
package.json Add state store to new frontend (#592) 2 years ago
tsconfig.json Set up new frontend with Vite, TypeScript and React (#563) 2 years ago
tsconfig.node.json Set up new frontend with Vite, TypeScript and React (#563) 2 years ago
vite.config.ts Set up new frontend with Vite, TypeScript and React (#563) 2 years 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