Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahdi-eth/social-media-graphql
A simple social media application using Go, GraphQL, and MongoDB. Includes features for creating users, posts, and following other users, with real-time updates via GraphQL subscriptions.
https://github.com/mahdi-eth/social-media-graphql
docker docker-compose go golang graphql graphql-subscriptions mongodb real-time
Last synced: about 1 month ago
JSON representation
A simple social media application using Go, GraphQL, and MongoDB. Includes features for creating users, posts, and following other users, with real-time updates via GraphQL subscriptions.
- Host: GitHub
- URL: https://github.com/mahdi-eth/social-media-graphql
- Owner: mahdi-eth
- Created: 2024-08-21T12:25:10.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-25T06:56:40.000Z (3 months ago)
- Last Synced: 2024-09-27T02:42:26.002Z (about 2 months ago)
- Topics: docker, docker-compose, go, golang, graphql, graphql-subscriptions, mongodb, real-time
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Social Media GraphQL
## Overview
This project is a basic social media application built with Go, GraphQL, and MongoDB. It allows users to create accounts, post content, follow other users, and receive real-time updates on new posts from followed users.
## Features
- Create and manage user accounts.
- Post content and view posts from followed users.
- Real-time updates on new posts through GraphQL subscriptions.## Getting Started
### Prerequisites
- Make sure you have **Docker** installed on your machine.
### Installation
1. **Clone the Repository**
```bash
git clone https://github.com/mahdi-eth/social-media-graphql.git
cd social-media-graphql
```2. **Build and Run with Docker**
```bash
docker-compose up --build
```
- This command will set up and run MongoDB and the application. You can access the application at http://localhost:8080.3. **Access GraphQL Playground**
- Open your browser and go to http://localhost:8080 to interact with the GraphQL API.