Skip to content

Repository files navigation

MSN_front

MSN Clone Logo

A modern recreation of the classic MSN Messenger experience

📋 Overview

MSN_front is a nostalgic yet modern implementation of the classic MSN Messenger interface.

✨ Features

  • User Authentication - Register and login functionality
  • Theme Support - Light/dark mode and customizable themes
  • Responsive Design - Works on desktop and mobile devices
  • Contact Management - Add, remove, and organize contacts

🛠️ Tech Stack

  • React - UI library
  • React Router - Navigation and routing
  • Context API - State management (Theme, Auth)
  • CSS/TAILWIND - Styling

📦 Installation

Prerequisites

  • Node.js (v14.x or higher)
  • npm or yarn
  • Backend server running (MSN_back)

Setup

  1. Clone the repository
git clone https://github.com/Giolii/MSN_front.git
cd MSN_front
  1. Install dependencies
npm install
# or
yarn install
  1. Set up environment variables
# Create a .env file in the root directory
touch .env

Add the required environment variables:

VITE_API_URL
VITE_GIPHY_API
  1. Start the development server
npm start
# or
yarn start
  1. Open your browser and visit http://localhost:5173/

🧩 Components and Pages

Pages

  • Chat - Main chat interface where conversations happen
  • Login - User login page
  • Register - New user registration page
  • NotFound - 404 error page for invalid routes

Layouts

  • HomeLayout - Protected layout for authenticated users
  • MainLayout - Public layout for non-authenticated pages

📱 Routes

Path Component Layout Authentication
/ Chat HomeLayout Required
/login Login MainLayout Not required
/register Register MainLayout Not required
* NotFound MainLayout Not required

🎨 Theming

Dark / Light Theme

🔄 Connection with Backend

This frontend application connects to the MSN_back backend repository, which handles:

  • User authentication and session management
  • Storing and retrieving chat messages
  • Managing user contacts and relationships

🚀 Deployment

Build for production

npm run build
# or
yarn build

The build files will be created in the build directory, ready to be deployed to your hosting service of choice.

Deployment platforms

The frontend can be deployed on various platforms including:

  • Netlify
  • Vercel
  • GitHub Pages
  • Firebase Hosting

Thank You!

About

My msn Front app

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages