https://github.com/abhaysp95/post_me_daddy
a simple generic social comm. platform where you can post
https://github.com/abhaysp95/post_me_daddy
apollo-graphql docker docker-compose graphql redis-client typescript vue3
Last synced: about 1 month ago
JSON representation
a simple generic social comm. platform where you can post
- Host: GitHub
- URL: https://github.com/abhaysp95/post_me_daddy
- Owner: abhaysp95
- License: mit
- Created: 2023-03-15T10:46:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T07:11:27.000Z (about 3 years ago)
- Last Synced: 2025-03-02T16:48:09.730Z (over 1 year ago)
- Topics: apollo-graphql, docker, docker-compose, graphql, redis-client, typescript, vue3
- Language: TypeScript
- Homepage:
- Size: 435 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# Post Me Daddy
A generic social communication platform built using `graphql`.
## How to run
### Easy way
The project includes `docker-compose.yml` & `Dockerfile` for project setup. The project is also using `.env` file. Here's how you set it up.
* install `docker` & `docker-compose` (step depends upon the distro you using, so checkout [docker doc](https://docs.docker.com/get-docker/))
* install `docker-buildx`. Check the info [here](https://docs.docker.com/build/install-buildx/). Included by default with `docker-desktop`.
* setup `buildx` as default build tool for docker
```sh
$ docker buildx install
```
* fill up the `.env` file with the values (I've included the required env keys in the file)
* copy the `.env` from root dir of project to `post_me_server` folder. (This step is needed because .env file is needed inside the container we're creating for backend of project)
```sh
$ cp .env post_me_server/.env
```
* Build the images with `docker-compose`
```sh
$ docker-compose build --no-cache
```
* Make the containers up
```sh
$ docker-compose up
```
### Hard way
Probably will update here, with different steps I did to make it run locally without docker (in case if it's needed)