Skip to content

ziex-dev/clone-hackernews

Repository files navigation

Ziex App - Hacker News Clone

This is minimal hackernews clone built with Ziex.

Here are the features implemented in this clone:

  • Home page with stories
  • Story details page with comments
  • User profile page
  • Login/logout functionality

Usage

Development

zig build dev

App will be available at http://localhost:3000. with hot reload enabled.

Serve Production Build

zig build serve --release=fast

Exporting as Static Site

zig build zx -- export

This will create a dist/ directory with the static export of your app. You can deploy the contents of dist/ to any static hosting provider (Netlify, Vercel, GitHub Pages, etc) or serve it with any static file server.

Deployment

zig build zx -- bundle

This will create a bundle/ directory with the binary and static assets needed to run your app. You can deploy the contents of bundle/ to any VPS.

ZX CLI Commands

zig build zx -- [command] [options]

All ZX CLI commands are available under zig build zx -- [command]. For example, to run auto formatter:

zig build zx -- fmt .

Contributing

Contributions are welcome! Feel free to open issues or pull requests. For feature requests, bug reports, or questions, see the Ziex Repo.

Links

About

A hackernews clone built using Ziex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors