Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jefersoneiji/hacker-news

Hacker news clone made in react (vitejs) combined with graphql. Its possible to vote posts, comment interactively. Also, it's possible to authenticate use 2FA (Two factor authentication).
https://github.com/jefersoneiji/hacker-news

graph hackernews mongodb nexus-graphql nosql typescript vite vitest

Last synced: about 2 months ago
JSON representation

Hacker news clone made in react (vitejs) combined with graphql. Its possible to vote posts, comment interactively. Also, it's possible to authenticate use 2FA (Two factor authentication).

Awesome Lists containing this project

README

        


woovi-logo


Hacker News Clone


Hakcer News Clone for Woovi Challenge

## Summary

Hacker news clone made in react (vitejs) combined with graphql. Its possible to vote posts, comments interactively. Also, it's possible to authenticate use 2FA (Two factor authentication)

## Prerequisites

For this project to run, make sure these software are installed:

- [yarn](https://classic.yarnpkg.com/lang/en/docs/install/) (for compatibility reasons yarn classic is recommended)

- [nodejs](https://nodejs.org/en/download/current)

- [local instance of mongodb](https://hub.docker.com/_/mongo) running on port 27017

## Installing

To run locally:
1. Clone this repo
```cmd
[email protected]:jefersoneiji/hacker-news.git
```

2. Install dependencies in your machine
```cmd
yarn install
```

3. Start the front and back-end
```cmd
yarn dev
```

## Accessing

### Front-end
- open address [http://localhost:5173](http://localhost:5173)

### Back-end
- use graphiql [http://localhost:4000/graphql](http://localhost:4000/graphql)

## Architecture Challenge

- Available at: [pix architecture](https://github.com/jefersoneiji/pix-credit-architecture)

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

Made by Jeferson Eiji ➡️ [Get in touch!](https://www.linkedin.com/in/jeferson-eiji/)