A basic clone of the popular tech news feed using NextJS, React, and TypeScript.
Pretty basic, as I've lost count of how many HackerNews clones I've made so far.
- View top 500 articles (metered with a Read More btn to not overload your browser)
- View article comments
- View nested comments
Run in dev:
yarn next:devBuild for production:
yarn buildStart production build:
yarn next:startBuilding is the same for Express or Next's default server.
The default start and dev scripts point to this case because Google Cloud's App Engine works best using an Express JS server.
Run in dev:
yarn devRun in Production
yarn startAuthenticate with Google Cloud local SDK (i.e. gcloud auth login).
Select your current project with: gcloud config set project PROJECT_ID
Deploy this app to Google Cloud App Engine, provided you've enabled the API and have the right permissions:
gcloud app deploy app.yml