/social-media-clone

A simple React application that renders a static clone of a social media site mock-up.

Primary LanguageJavaScript

Social Media Clone

A simple React application that renders a static clone of a social media site mock-up.

By Joey Palchak

Technologies Used

  • JavaScript
  • React
  • CSS
  • HTML

Description

Social Media Clone is a simple React application intended only for practice & learning purposes. The project is a solution to a prompt in which the application must clone a given social media site mock-up, and practice breaking each element of the site into their own components.

The final result of the Social Media Clone can be found below:

The application.

Some liberties were taken with particular elements of the design, such as profile pictures.

For the planning stages of building the clone, a diagram was drawn up into the following components:

Application's component diagram.

The original mock-up that was to be copied is shown below:

The original mock-up to be copied.

Setup & Installation

  1. Copy the URL provided for this repository.
  2. Open Terminal.
  3. Change your working directory to where you'd like to create the cloned directory.
  4. In your terminal, type git clone and use the copied URL from Step 1. Or, copy the following git command:
$ git clone https://github.com/jfpalchak/social-media-clone.git
  1. Navigate to the root of the newly cloned directory.
  2. In your terminal, assuming Node and npm are installed, type the following command to install the project's dependencies found in package.json:
$ npm install
  1. With the dependencies installed, type the following line in your terminal to run the application in development mode:
$ npm run start

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

Known Bugs

The application does not implement responsive design.

License

MIT License

Copyright (c) 2023 Joey Palchak

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.