Run in development mode
npm run dev
Run in production mode
npm run build
This will generate static file for the project, you need to serve the static file inside /out
directory
You can use simple http server like this. Then do this
npx http-server /out
The benefit of this, is you can try the PWA
feature of the website localy. PWA
is enabled in production mode only.
This project contains several features. Each features developed separately inside PRs. These are what I did step by step, click to see the work history inside the PR or click see deployment to see what I've done with the feature:
- PR link for Setup Projects
- PR link for Pokemon List | See Deployment
- PR link for Pokemon Detail | See Deployment
- PR link for Catch a Pokemon | See Deployment
- PR link for My Pokemon List | See Deployment
- PR link for PWA | See Deployment
- And finally, the complete project | See Web App