Skip to content

Job Stories Feed from Hacker News API built using React, Next.js 13, TypeScript and backend in Go.

Notifications You must be signed in to change notification settings

ghocevar/hackernews-jobs

Repository files navigation

hackernews-jobs

This is simple Full-stack application that uses Next.js on the frontend and Golang on the backend side. Backend fetches job stories from Hacker News API, and creates simple API endpoint to fetch job postings.

Next.js app is deployed on Vercel and Golang backend app on the Cloud Run.

TODO

There are some tasks in want to complete, to imporove the performace especially on the backend and data fetching.

  • Create CI/CD pipelint with GitHub Actions
  • Add Redis (or some cache store) and to store job postings for faster API response times
  • Redesign frontend application
  • Add Vercel provider to Terraform
Folder structure
hackernews-jobs/
├── api        # API Server in Go
├── public     # Public files used on the frontend
├── src        # Next.js frontend application

Running Locally

You can checkout project locally by cloning the repo:

git clone https://github.com/ghocevar/hackernews-jobs.git
cd hackernews-jobs
echo 'API_URL="https://hackernews-jobs-api-main-cfoxkmtliq-oc.a.run.app"' > .env.local
pnpm install
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Previous version

Originaly, this project was built following tutorial by Karl Hawden building Hackernews Clone with some minimal modifications, like use of Next.js. Backend was built with Serverless Framework to run Apollo GraphQL Server on AWS Lambda. You can see the code on the master branch.

About

Job Stories Feed from Hacker News API built using React, Next.js 13, TypeScript and backend in Go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published