Giter VIP home page Giter VIP logo

facebook-clone's Introduction

c cplusplus html5 python css3 javascript Solidity Hardhat

๐Ÿ”ญ Comp Sci student California State University Fullerton

๐Ÿ”ญ Full Stack/UCLA coding bootcamp

๐Ÿค” Froala portfolio

facebook-clone's People

Watchers

 avatar

Forkers

angel3510

facebook-clone's Issues

Model folder

Create model folder inside of server root. Add files:

  • post.js

  • user.js

Refactoring code for image uploads and delete

As of now we have our image upload components running inside of the our profile.js file. It would make much more sense to have that code in a seperate "FileUpload.js" component and we import that component into our app.js file.

Cloudinary configuration

in order to update images in real time, we need a web api that will handle all the images in a cloud storage, where our application will then grab that image data and display it on the site

GraphQL folder

Create a separate folder for graphQL components:

  • fragments.js
  • mutations.js
  • queries.js
  • subscriptions.js

heroku deployment

We need to have this application deployed successfully to heroku; just because it works on our local machine doesnt mean it works everywhere else.

Create forms folder

Add forms folder to:

  • client/src/components

With files:

  • AuthForm.js
  • UserProfile.js

Dashboard, users, login, search bar

A user friendly interface isn't really user friendly without a proper navigation bar and search button right? Lets import Nav using react in our App.js from our component Nav.js; and lets build this navigation tab to include the current user, login and register tabs, as well as a search bar and button, we can worry about styling that puppy later

Client side files exceed the limit size on Heroku.

In this step we see the heroku build fails because our files exceed the limit size on heroku; were going to compress the client side in a way where heroku can still understand it; and deploy it on the cloud application platform.

Set up MongoDB

Set up a new user, their password, and database with collections for Mongo

Add Pagination

The Pagination library can be used directly for paging functionality for any list of items. The required props here are an array of items of the list to be rendered and a callback function onChange which informs the parent component about the page change.

Working search component.

Lets implement a working search bar component into our application, with a
"const search = () =>
{ const [query, setQuery] = useState('')"
and return the target value in a form, we want to be able to useHistory so it can push the history into the search query

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.