Giter Site home page Giter Site logo

reactappsample's Introduction

Snap Shot Tweet

Build Status License: MIT HitCount

Demo of Snap Shot

Summary

Snap Shot is a gallery created using React,React Hooks, React Router and Context API. The Routes were setup for four default pages and a search page. Also the images were displayed using the Flickr API and axios to fetch data.

Motivation

The purpose of this project was to get familiar with React Hooks and Context API.

Getting Started

Click the demo link or clone/download the repository on your local machine. Create a config.js file in api folder inside src folders. In config.js file write export const apiKey = "YOUR_FLIKR_API_KEY";

Install dependencies

yarn install

Run Snap Shot from the root directory.

yarn start

Built With

  • React js
  • React Router
  • React Hooks
  • Context API
  • Flickr API

Features

1. Responsive Design.

2. Search functionality added to search photos from API.

Coming Soon

  • Cypress E2E Tests

Contributing

Everyone is welcomed to contribute to this project. You can contribute either by submitting bugs or suggesting improvements by opening an issue on GitHub. Please see the CONTRIBUTING guidelines for more information.

This project was bootstrapped with Create React App.

################################################################################################# Running Commands for Setup of React App 344-> npm install 345-> npm start 346-> npm audit fix --force 347-> npm audit fix --force 348-> npm audit fix 349-> yarn install 350-> yarn start 351-> yarn 352-> yarn restart 353-> yarn start 354-> yarn run test 355-> yarn run test 356-> yarn build 357-> yarn install 358-> yarn run test 359-> npm audit fix --force 360-> yarn install 361-> yarn start 362-> docker images 363-> docker build . -t react:5 364-> docker images 365-> docker run -d react:5 366-> docker logs 83e617a295d2c0 367-> docker ps 368-> docker exec -it 83e617a295d2 sh 369-> docker ps 371-> docker ps 372-> docker rm -f 83e617a295d2 373-> docker ps 374-> yarn start 386-> docker run -d react:6 387-> docker logs 77f0267e82ab7f1b84381dd8eb1b16423bc0164fd0b9156963a07c8b1a99c8a5 388-> docker ps 389-> docker exec -it 77f0267e82ab sh 390-> docker ps 391-> docker stop 77f0267e82ab 392-> docker start -d -p 80:3000 77f0267e82ab 393-> docker start -p 80:3000 77f0267e82ab 394-> docker rm -f 77f0267e82ab 395-> docker run -d -p 80:3000 react:6 396-> docker logs 129990d6735b2 397-> docker logs 129990d6735b2 398-> docker login 399-> docker tag saikrish12345/reactappsample react:6 400-> docker tag react:6 saikrish12345/reactappsample 401-> docker push saikrish12345/reactappsample 402-> docker push saikrish12345/reactappsample 403-> docker ps 404-> docker rm -f 129990d6735b 405-> docker -d -p 80:3000 react:6 406-> docker run -d -p 80:3000 react:6 407-> docker logs 408-> docker logs 9a67a238ab9588b018b0600bdd08ab95ad414010b8ae32bfafe2e44dc7c59a44 409-> docker logs 9a67a238ab9588b018b0600bdd08ab95ad414010b8ae32bfafe2e44dc7c59a44 410-> docker logs 9a67a238ab9588b018b0600bdd08ab95ad414010b8ae32bfafe2e44dc7c59a44

reactappsample's People

Contributors

saikrishnareddy12345 avatar

Watchers

 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.