Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samueldurantes/xau
https://github.com/samueldurantes/xau
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samueldurantes/xau
- Owner: samueldurantes
- Created: 2022-06-04T21:02:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T22:56:29.000Z (about 1 year ago)
- Last Synced: 2024-01-16T23:40:09.306Z (6 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
Lists
- awesome-woovi-challenge - xau - Hackernews clone by [@samueldurantes](https://github.com/samueldurantes) (Challenges)
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)