Giter Site home page Giter Site logo

wtakayama-chwy / beyoung-react Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.82 MB

A simple responsive application created using React and Styled Components, consuming a simple API

License: MIT License

JavaScript 97.89% HTML 2.11%
react styled-components react-router react-icons formatjs

beyoung-react's Introduction

Beyoung Challenge

Logo

Beyoung - React

Made with React License

๐Ÿšฉ What is it?

Create a responsive single page application using React (library), consuming webservices (GET) provided on a simple API using HTTP-SERVER and filtering data for each user. It was developed using React Hooks to create components, Styled Components on styles, API services using Fetch method, React icons for icons, React switch and ThemeProvider for theming dark and light mode, React spinners to create a loader and React INTL to display currency data correctly.

๐Ÿ“ฑ Demo on Mobile:

demo-mobile

๐Ÿ’ป Demo on Desktop:

demo-desktop

๐ŸŽ† Developing Tools:

  • React v.16.13.1 with React Hooks (Frontend)
  • Lint
  • Styled Components for styling and Create Global Style, Theme Provider and Styled Theming
  • React Icons for icons
  • React INTL for currency data
  • React switch to toggle dark and light mode
  • React routes to manage routes
  • VSCode (Editor)
  • HTTP-SERVER to fetch data
  • Insonmia to test get requests
  • Firefox Devtools

๐Ÿš€ Goal:

Create a responsive single page application using React (library), consuming webservices (GET) that are available in API folder

๐Ÿ“ˆ What I've learned or improved on my knowledge:

  • Handle Error using .then and .catch and ternary operators to render components condiotinally
  • Using React hooks with callbacks to avoid lint warnings
  • Styled Components with Theme Provider and react-switch to manage dark and light mode in a simple way
  • INTL to manage currency data and display it correctly
  • Manage props in a better way without using REDUX
  • useContext to create a personal Theme Provider

๐Ÿพ How to clone or run?

  • Download the zip or clone using github
  • There's a API folder and a frontend folder
  • In the main folder run in your command line npm run dev

๐Ÿค˜ Contributions

Pull requests are always welcomed. For major alterations please think about openning an issue first. Any improvments advices would be great, don't hesitate on contacting me ๐Ÿ˜„

License

  • Project 100% solo - concluded in 3 days.
  • MIT License - Copyright (c) 2020 william-takayama

beyoung-react's People

Contributors

wtakayama-chwy 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.