This is a simple HackerNews clone built with LiveViewJS. Inspired by (and copied from) Ryan Caniato's numerous hackernews clones.
More info on LiveViewJS can be found on the website and GitHub.
When running the npm start dev command (the default in Stackblitz and locally) the app will automatically rebuild when you make changes to the either the client or server code.
Run in StackBlitz ⚡️
The default Stackblitz command is npm start dev which will run the app in development mode.
- Clone the repo and run
npm install - Run
npm run devto start the server - Open
http://localhost:4002in your browser
There is a fly.toml file in the root of the project. You can deploy your own version to your own fly.io account. More info on Fly.io.
flyctl auth loginflyctl launch
flyctl deploy
- Thanks to Ryan Caniato for the HN Clone starting point
- Thanks to JLarky for the feedback / code improvements