Skip to content

dedJack/DedPost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Perfect 👍 I’ll give you a ready-to-copy-paste README.md for your project DedPost, without the payment integration part.

Here it is:

# DedPost

DedPost is a full-stack project built with **Vite (React)** for the frontend and **Node.js/Express** for the backend.  
It provides a Platform for users to post , like and view posts to earn money

---

## 🚀 Tech Stack
- **Frontend:** React + Vite + Tailwind CSS
- **Backend:** Node.js + Express + MongoDB
- **State Management:** Redux Toolkit
- **Deployment:** Render / Netlify

---

## 📦 Setup Instructions

### 1️⃣ Clone the repository
```bash
git clone https://github.com/DedJack/DedPost.git
cd DedPost

2️⃣ Install dependencies

Frontend

cd frontend
npm install

Backend

cd backend
npm install

3️⃣ Environment Variables

Create a .env file in both frontend and backend with the following keys:

Backend .env

PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
CLIENT_URL=http://localhost:5173

Frontend .env

VITE_API_URL=http://localhost:5000

4️⃣ Run the project

Backend

cd backend
node server.js

Runs at → http://localhost:5000

Frontend

cd frontend
npm run dev

Runs at → http://localhost:5173


⚡ Scripts

Frontend

  • npm run dev → Start dev server
  • npm run build → Build for production

Backend

  • node server.js → Start backend

📜 License

This project is licensed under the MIT License.


👨‍💻 Author

Developed by DedJack


Do you also want me to add **folder structure (tree view)** of `frontend` and `backend` in the README so contributors instantly know where things are?

About

A social media platform that Pays for posts, likes and views

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages