Git Product home page Git Product logo

macreact's Introduction

MacReact

A React front end and Firebase back end web app to simulate MacOS

MacReact

Front-End (React)

This project was created as an experiment to test out the abilities of React and as a learning experience for myself. I was trying to come up with an application I could try to simulate on the web, and thought, why not an entire OS!

The beauty of React is its statefulness, which works out perfectly for rendering a complex system like this. The state of the OS is managed in the Desktop component, where only currently-running apps are being rendered by the browser as opposed to just hiding currently-disabled apps. This makes the entire application more efficient.

Beyond that, React is intuitive and relatively easy to learn, making it fun to work with and experiment with building progressive web apps. The largest improvement that could be made with this application is incorporating a state manager, and specifically Redux. I have yet to master this tool, but the benefits of using it, especially with something containing as complex a state as this application does would make sense.

Back-End (Firebase)

React and Firebase are a match made in heaven, with React's state abilities and Firebase's real-time database, updates between the two happen nearly instantly. Additionally, the API for Firebase is unbelievably easy to use. This is the first project I've used Firebase in, and it took perhaps an hour to set up a new database project, get user authentication and data persistence functioning, and when the project was ready for deployment, Firebase made that happen in about five minutes.

Currently-function apps

Notes

This app is based on the Notes app found in MacOS. It allows you to create, edit, save, and delete notes. Features include:

  • Note creation
  • Note editing/saving
  • Note deletion
  • Sidebar sorted by last edit
  • Title and subtitle are the first and second lines of the note (same in actual Notes app)

Preferences

This app allows you to control basic operations of the "operating system". Currently this includes:

  • Changing the desktop background
  • Logging out

macreact's People

Contributors

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