From: Hai Truong
Please note that the deployed website may not render the our product section because the deployed backend need time to boot up (sometimes, refresh the page can help).
First, run the installation script:
npm install
# or
yarn
Second, copy .env.example
to .env
(if you modify the BE port please also change the port on .env
)
Third, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
The project is deployed on Vercel, here is the link: https://g-sneaker-fe-haitruong.vercel.app/
After deadline, I've:
- Refactored the code to fix some "Lighthouse issues".
- Optimized images' size.
- Fixed Jotai multiple instances warning.
- Fixed
"Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server."
- Added semantic elements
- Added aria attributes for accessibility