Skip to content

Sandali0726/ReactFullstackApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Fullstack App

This project is a full-stack web application built with React for the frontend and Node.js with Express for the backend. It includes user authentication, post creation, comments, and likes functionality.

Features

  • User Authentication (Login, Registration)
  • Create, Read, Update, Delete (CRUD) Posts
  • Comment on Posts
  • Like/Unlike Posts
  • User Profiles
  • Change Password

Project Structure

REACT-FULLSTACK/
├── client/
│   ├── public/
│   ├── src/
│   │   ├── helpers/
│   │   ├── pages/
│   │   ├── App.css
│   │   ├── App.js
│   │   ├── index.js
│   │   └── reportWebVitals.js
│   ├── .gitignore
│   ├── package.json
│   └── README.md
├── server/
│   ├── config/
│   ├── middlewares/
│   ├── models/
│   ├── routes/
│   ├── index.js
│   ├── package.json
│   └── README.md
├── .vscode/
├── package.json
└── README.md

Getting Started

Prerequisites

  • Node.js
  • npm or yarn

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/REACT-FULLSTACK.git
  2. Navigate to the project directory:
    cd REACT-FULLSTACK
  3. Install dependencies for both client and server:
    cd client
    npm install
    cd ../server
    npm install

Running the Application

  1. Start the backend server:
    cd server
    npm start
  2. Start the frontend development server:
    cd client
    npm start

Usage

  • Open your browser and navigate to http://localhost:3000 to view the application.
  • Register a new user or login with existing credentials.
  • Create, read, update, and delete posts.
  • Comment on and like/unlike posts.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

Screenshot 2024-12-23 213148 Screenshot 2024-12-23 213451 Screenshot 2024-12-23 213524 Screenshot 2024-12-23 213540 Screenshot 2024-12-23 213557

Releases

No releases published

Packages

No packages published