https://github.com/samueldurantes/xau
https://github.com/samueldurantes/xau
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samueldurantes/xau
- Owner: samueldurantes
- Created: 2022-06-04T21:02:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T22:56:29.000Z (about 2 years ago)
- Last Synced: 2024-11-05T08:37:05.122Z (8 months ago)
- Language: TypeScript
- Homepage: xau.vercel.app
- Size: 949 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-woovi-challenge - xau - Hackernews clone by [@samueldurantes](https://github.com/samueldurantes) (Challenges Fullstack)
README
## xau
A [Hacker News](https://news.ycombinator.com/) clone made of the @entria challenge.### Getting started
1. Install packages
```bash
$ yarn install
```2. Copy all environment files
```bash
$ yarn copy-env
```3. Fill environment files
```bash
# packages/server/.envPORT=
MONGO_URI=
JWT_SECRET=
``````bash
# packages/web/.envNEXT_PUBLIC_API_URL=
NEXT_PUBLIC_JWT_SECRET=
```4. Generate Relay types
```bash
$ yarn relay
```### Running
#### Running web
```bash
$ yarn dev:web
```#### Running server
```bash
$ yarn dev:server
```#### Running web and server together
```bash
$ yarn dev:all
```### References
- [Relay Workshop](https://github.com/sibelius/relay-workshop)
- [Relay NextJS](https://github.com/wyattjoh/relay-nextjs/tree/main/src/relay)
- [Fakeddit](https://github.com/noghartt/fakeddit)