Skip to content

gejimayu/reddit-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

"Reddit"-clone

Overview

Home Page

home

Register/Login

login

Create/Edit/Delete Post

post

Forget and Change Password

forgetpwd

changepwd

How to Run/Build

Backend

Development

Prerequisite: Redis, PostgreSQL

cd reddit-clone-api
-> rename .ormconfig.json -> ormconfig.json and fill in the credentials accordingly
-> rename .env.example -> .env and fill in the credentials accordingly
yarn
yarn dev

Build/Production

Prerequisite: Docker

cd reddit-clone-api
docker-compose-up

Frontend

Development

cd reddit-clone-web
yarn
yarn dev

You can add more GraphQL Queries/Mutations inside reddit-clone-web/src/graphql/** directory. Afterwards, run command yarn gen to generate the typing for the queries/mutations.

Build/Production

cd reddit-clone-web
yarn
yarn build

Tech Stack

Frontend

Typescript React GraphQL

apollo nextjs

Backend Server

Typescript GraphQL apollo nodejs express typeorm postgresql redis-logo

About

Reddit Clone Fullstack with React - TypeScript - GraphQL - Apollo - Node.js - PostgreSQL - TypeORM - Redis - Next.js - Chakra UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published