Giter Site home page Giter Site logo

michael-schlueter / react-dictionary Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 199 KB

A React Dictionary App built with Material-UI to provide different styles (light / dark mode). Based on a tutorial from Roadside Coder / freeCodeCamp

HTML 17.10% JavaScript 67.37% CSS 15.53%
react material-ui axios dictionary-api dark-mode progressive-web-app

react-dictionary's Introduction

Dictionary Application

This is a Dictionary App using ReactJS and Material UI. The app allows you to translate words into 12 different languages using the Dictionary API.

General Information

  • I undertook this project in order to familiarize myself with the use of Material UI to style components
  • In particular, I wanted to get to know how to implement a Light Mode / Dark Mode in a React app using Material UI
  • I also wanted to grasp the concept of progressive web app and understand what is necessary to turn an app into a PWA

Technologies Used

  • React 17.0.2
  • MaterialUI 4.12.3
  • Axios 0.21.1

Features

  • Translating words into 12 different languages
  • Switch between a Light Mode and a Dark Mode

Screenshots

Example screenshot

Demo

Live demo here.

Setup

The dependencies which are necessary to run this app can be found in the package.json file.

  1. Clone the repo
  2. Navigate to the project folder in the terminal and install the necessary NPM dependencies
npm install
  1. Run the app typing
npm start

in the terminal

Learnings

  • using MaterialUI to style components (Theme, ThemeSwitcher, ThemeProvider)
  • implementing Light / Dark Mode with the help of the MaterialUI
  • transformation to a Progressive Web App
  • making requests using Axios instead of fetch API

Project Status

The project is finished. I didn't find it necessary to add any further features to it.

Acknowledgements

  • This project was based on this tutorial.
  • I watched the video and tried to implement its concepts myself. Therefore there may only be slight differences in code.

react-dictionary's People

Contributors

michael-schlueter avatar

Stargazers

 avatar  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.