Code Monkey home page Code Monkey logo

restock's Introduction

LA COLOMBE DOVE LOGO

Restock

A mobile application for quickly and easily replenishing inventory

Demo

ANIMATED GIF OF RESTOCK IN ACTION!

Motivation

This project was born out of the following 3 desires:

  1. The desire to explore the differences between React and React Native
  2. The desire to see what building an application for mobile is like
  3. The desire to not have to make a new note on my phone every time I needed to restock something at work

What I Learned

Building this project taught me a lot about React Native and the ways in which it differs from React.

The most obvious, and immediately visible, difference was that React Native uses native components instead of HTML elements. I was able to work with a handful of React Native's built-in components (such as Button, Text, View, ScrollView, and SafeAreaView) and learn about their props.

Another interesting difference was the way in which layout considerations shift in React Native to accomodate for the dimensions of mobile screens. I ended up noticing this shift a lot when working with layout-related CSS properties, some of which were either missing values I was used to seeing (such as display: inline or display: block) or had the opposite default value of their React counterparts (flex-direction: column vs. flex-direction: row).

Some other cool things I learned while building this project:

  • How to set up screens and navigate between them using React Navigation's createStackNavigator API
  • How to use styled-components ๐Ÿ’… (working with the styled API, adapting styles based on props)
  • How to set up and work with tools like Xcode's iOS device simulator and the Expo Client app to preview changes and test functionality in real-time
  • Honestly, it would behoove me to write tests sooner, and to really think through whether or not the data structure I have in mind is going to be effective ๐Ÿ˜…

Built With

restock's People

Contributors

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