Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

berksafran/giphy-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIPHY App

Recreation of GIPHY Web App

Installing / Getting started

To get started, you need a JavaScript package manager such as npm or yarn.

https://github.com/berksafran/giphy-study.git
cd giphy-study/
yarn install
yarn run build

This creates a build directory with a production build of your app. Set up your favorite HTTP server to serve this folder so that you can start using production build.

Developing

Built With

React, Create-React-App, styled-components

Prerequisites

You need a JavaScript package manager such as npm or yarn to start developing.

Setting up Dev

Here's a brief intro about what a developer must do in order to start developing the project further:

https://github.com/berksafran/giphy-study.git
cd giphy-study/
yarn install
yarn start

Then open the localhost url that you see on the terminal to view Giphy Study App.

Building

When you’re ready to deploy to production, create a minified bundle with:

yarn run build

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

The build is minified and the filenames include the hashes.

Giphy Study App is ready to be deployed.

Components

Every component folder contains an index.js file that exports by default the component and a styles folder that contains styles\styles.js files which are created by styled-components

Services

Services folder is the folder that we keep our service files such as API, LocalStorage, Custom React Hook (for infinitive scroll) etc.

Theme

This app also supports theme. You can edit src/themes/dark.js file for Dark theme or src/themes/light.js file for Light theme. Initial theme is Light

Routing

Routing is done by App.js file in the src folder. I used react-router v4 for routing.