Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/leojuriolli7/cluster

React Forum PWA with my own GraphQL backend. Register, post and comment!
https://github.com/leojuriolli7/cluster

apollo cluster clusters forum fullstack graphql posts pwa react reactjs styled-components typescript

Last synced: 18 days ago
JSON representation

React Forum PWA with my own GraphQL backend. Register, post and comment!

Awesome Lists containing this project

README

        

# Cluster

Cluster is a forum website made with React JS and consuming my GraphQL API called Cluster API.

Access Cluster: https://cluster-forum.com/

Cluster is also a **PWA** (Progressive Web App) - It can be downloaded as an app like a regular application on the phone or desktop.

The website has **authorization** (register and login) and the ability to **create**, **edit** or **delete** **posts** and **comments**. It also has light and dark mode alongside 🇧🇷Portuguese and 🇺🇸English translations.

The website identifies the browser/OS theme on the first visit and saves it. It also watches the browser/OS theme changes and follows it. Cluster also identifies the browser language and sets it automatically on the first visit.

## Tecnologies used in this project:

- ReactJS, Typescript
- Zustand for state management
- Apollo Client for consuming the GraphQL API
- i18Next for translations
- React Hook Form and Yup
- Styled Components with light and dark mode
- React Router for routing

## Installation
Clone the project:

```bash
git clone [email protected]:leojuriolli7/cluster.git
```

Go to the project directory:

```bash
cd cluster
```

Install the project dependencies:

```bash
yarn
```

## Usage
Define the API endpoint on .env (clone and run Cluster API on localhost:3000, for example)
```bash
REACT_APP_API_URL=localhost:3000/graphql
```

Start the application:

```bash
yarn start
```