- Front Page” feed with line chart.
- Next & Prev Buttons - url friendly
- Upvote
- Hide
- Chart to represent Votes over ID
- Test cases
- SSR Server side rendering & SEO Friendly
- PWA Optimization
- Responsive
- CI/CD - using google build
- Deployed to app engine
- Typescript
- React
- Redux
- SSR
- Web pack & CRA
- Google Cloud build, Google App engine
- Install depedencies from npm registry by running
yarn
ornpm install
- Web pack dev server can run using
yarn run dev
- Tanspile client files using
yarn run client-build
- Tanspile server files using
yarn run server-build
- Run the server using
node server/dist
To enable auto deploy to googel app engine whenever push to github, you need to setup as following.
- Create the proeject from https://console.cloud.google.com/ and enable billing
- Enable cloud build: https://console.cloud.google.com/cloud-build
- Create triggers from https://console.cloud.google.com/cloud-build/triggers
- Modify IAM role from https://console.cloud.google.com/iam-admin/iam for
<projectid>@cloudbuild.gserviceaccount.com
. It should beApp Engine Admin, Cloud Build Service Account
- Enable app engine from
https://console.cloud.google.com/appengine
Unit test cases is covered using jest and @testing-library/react. It can run using yarn run test