Giter VIP home page Giter VIP logo

module-project-side-effects-torien3x's Introduction

React Components Insta Clone

Component Composition Module Project

Introduction

For this project, you'll build a simple Instagram clone using React. There is a file provided frontend/data/dummy-data.js that contains some mock data. Each object in the mock data represents a faux Instagram post. Your React application will receive this faux post data and render each as a separate Instagram post.

Instructions

Task 1: Project Setup

  • Clone the repository to your machine using your terminal
  • CD into the project base directory cd React-Components-Insta-Clone
  • Download project dependencies by running npm install
  • Start up the app using npm run dev
  • Push commits: git push origin main

Task 2: MVP

This app can be broken down into two main sections that you'll need to implement for this project: the Search Bar and the Posts.

A Search Bar will be rendered at the top of the page, and a Posts component will render an individual Post for every object inside the dummy-data.js array. You'll need to set up state to keep track of the posts. You will implement a callback to increase the "likes count" on posts and hand it several levels down into a nested component through props.

Look through the code before you start. There are a lot of files. Not all of them need code added to them. Start in the App.js file and read the instructions there.


Your project should end up looking like this

Submission Format

  • Submit a link to your repository in Canvas

module-project-side-effects-torien3x's People

Contributors

github-classroom[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.