How chien100503/graduation_project works
Project type and purpose
• This is a single-page application (SPA) built with Create React App, packaged in a Docker container, and served via Nginx.
• Its primary purpose is to provide a password-reset workflow, displaying success or failure animations to the user.
File structure
• Top-level files:
• Dockerfile, docker-compose.yml, nginx.conf → containerization and deployment
• package.json / package-lock.json → React dependencies and scripts
• README.md → CRA boilerplate instructions
• public/ → static assets (index.html, manifest, robots.txt)
• src/
• App.js, index.js, reportWebVitals.js, setupTests.js → entry points and instrumentation
• ResetPasswordForm.js, Success.js, Failure.js → core UI screens
• src/animations → Lottie JSONs for success/failure
• src/config/config.jsx → environment settings (API endpoints, feature flags)
• src/styles → component-scoped CSS modules + global styles
README insights
• No bespoke architecture notes—just standard CRA usage and available npm scripts.
• We infer deployment is via Docker + Nginx.
Detail
• Every folder/component: public vs. src, config, animations, styles.
• Environment‐specific config injection from src/config.