This is a social network web application built with React, Redux, React Router, and Bootstrap. The application allows users to register, log in, create posts, view profiles, search for users, and more.
- User Authentication (Register, Login)
- View and Edit Profile
- Create and View Posts
- Search for Users
- Comment on Posts
- Private Routes to Protect Certain Views
- Responsive Design with Bootstrap
The project is organized into several views and components:
App.jsx
: Main component that sets up the routes and conditional rendering based on user authentication.views/
: Contains the main views of the application (Register, Login, Home, Profile, etc.).components/
: Reusable components used across the application.features/
: Contains the Redux slices for authentication and posts.guards/
: Contains route guards for private routes.
Ensure you have the following installed:
- Node.js (v14 or later)
- npm (v6 or later)
-
Clone the repository:
git clone https://github.com/JCLLacruz/socialNetwork.git
-
Navigate to the project directory:
cd social-network
-
Install the dependencies:
npm install
To run the application in development mode:
npm run dev