https://github.com/abhi9ab/reddit-clone
minimalist reddit clone using react, tailwindcss, nodejs, postgreSQL
https://github.com/abhi9ab/reddit-clone
javascript postgresql reactjs tailwindcss
Last synced: 3 months ago
JSON representation
minimalist reddit clone using react, tailwindcss, nodejs, postgreSQL
- Host: GitHub
- URL: https://github.com/abhi9ab/reddit-clone
- Owner: abhi9ab
- Created: 2024-04-27T07:10:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T14:14:56.000Z (about 2 years ago)
- Last Synced: 2025-08-18T17:38:58.106Z (11 months ago)
- Topics: javascript, postgresql, reactjs, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 1.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reddit-clone
Hey there! Welcome to my Reddit clone project built with React, Tailwind CSS, Express.js, and PostgreSQL. I'm excited to share this project with you!
I've worked hard to replicate the core features of Reddit, including user posting content, voting on posts , dropdown menus, etc.
## Preview
### Home page
### Create page
## Local Installation
To get started, clone this repository to your local machine and follow the installation instructions in the README.
### Step 1: Clone the Repository
```shell
git clone https://github.com/abhi9ab/reddit-clone.git
```
### Step 2: Navigate into the project directory that you just cloned
```shell
cd
```
### Step 3: Install the necessary dependencies by running
```shell
npm install
```
### Step 4: Set Up the Database:
Make sure you have PostgreSQL installed on your local machine.
Create a new PostgreSQL database for the project.
The sql command required are provided in the database.sql file.
### Step 5: Type the following command to build the client application:
```shell
cd client
```
```shell
npm run dev
```
### Step 6: Type the following command to start the server:
```shell
cd ..
```
```shell
cd server
```
```shell
nodemon server.js
```
### Step 7: Open a browser and access [http://localhost:5173](http://localhost:5173).
Documentation:
[nodejs](https://nodejs.org/en)
[react](https://react.dev/)
[postgresql](https://www.postgresql.org/)
[tailwindcss](https://tailwindcss.com/)