A simple chat aplication using graphql and react
Frondend have the following features:
- 👾 Graphql
- 💬 Subscriptions-Transport-WS
- ✨ Styled-Components
- ✔️ Redux and Redux-Persist
- 🚩 Yup
Backend have the following features:
- 👾 Graphql-Yoga
- 💬 Graphql-Subscriptions
- 🛡️ Graphql-Middleware
- 📄 Graphql-Upload
- 🐳 Docker
Docker with mongodb ( docker run --name mongodb -p 27017:27017 -d -t mongo )
- Clone this repository
#Backend
- Go to the newly created directory:
cd server
. - Run
yarn
ornpm install
to install dependencies. - Set your
MONGO_URL
in env. - Run
npm start
oryarn dev
to see the example app athttp://localhost:4000/playground
.
#Frontend
- Go to the newly created directory:
cd web
. - Run
yarn
ornpm install
to install dependencies. - Run
npm start
oryarn dev
to see the example app athttp://localhost:3000
.