Skip to content

samueldurantes/xau

Repository files navigation

xau

A Hacker News clone made of the @entria challenge.

Getting started

  1. Install packages
$ yarn install
  1. Copy all environment files
$ yarn copy-env
  1. Fill environment files
# packages/server/.env

PORT=
MONGO_URI=
JWT_SECRET=
# packages/web/.env

NEXT_PUBLIC_API_URL=
NEXT_PUBLIC_JWT_SECRET=
  1. Generate Relay types
$ yarn relay

Running

Running web

$ yarn dev:web

Running server

$ yarn dev:server

Running web and server together

$ yarn dev:all

References