Skip to content
This repository has been archived by the owner on Jul 26, 2019. It is now read-only.
/ doit Public archive

A todo app using React Native [deprecated]

Notifications You must be signed in to change notification settings

hernanif1/doit

Repository files navigation

doIt! - Task Manager

Simple todo app made in React-Native with Google SignIn and Google Tasks Rest API's

Example

Do you want to know how the app looks like? Click here

Requirements

Stack

  • React Native 0.47.x for building native apps using react
  • Redux 3.6.x a predictable state container for Javascript apps
  • Redux-Saga 0.15.x a predictable state container for Javascript apps
  • Babel 6.x.x for ES6+ support
  • Immutable Immutable persistent data collections for Javascript
  • React Navigation Navigation views that deliver 60fps animations
  • Jest tests JavaScript Testing
  • React-Native Config Environment for react-native
  • Reactotron Inspecting your React JS and React Native apps
  • ESLint Standard Rules for Javascript language
  • Loadash Library delivering modularity, performance & extras
  • Husky Prevent bad commit, push and more

Make the awesome

Just clone the repo and start :

$ git clone https://github.com/hernanif1/doit
$ cd doit
$ yarn install # Install Node.js components listed in ./package.json

Set the project in google firebase console

  • To compile this project with google sign you need to create a project in https://console.firebase.google.com
  • After click in Project Setting (gear icon)
  • Add the project (package name com.doit)

In the field SHA certificate fingerprints put yout sha1 code see how

Get the api key to your project

  1. Access your google console developer project see how
  2. In the search look for Task API
  3. Activate It
  4. In the menu click in credentials
  5. Get the api key to put in the .env file see how

Env File

Create a .env file (in the root of the project) with the env variables

API_URL=https://www.googleapis.com/tasks/v1/
API_KEY={YOUR_GOOGLE_API_TOKEN}

Build the APP in DEVELOPMENT

  1. cd to the repo
  2. Run Build
$ react-native run-android

Build the APP in PRODUCTION

Run

$ react-native run-android --variant=release

Run tests

  1. In your terminal just run:
$ jest

TODO

  • 100% coverage tests
  • delete tasks in list screen
  • ios version
  • drag'n drop tasks
  • offline first
  • edit tasks in list screen
  • list screen, insert menu more on section (remove all, done all, undone all)
  • add crashlytics
  • add analytics
  • google sigin
  • google task api integration
  • create tasks and lists
  • init project
  • ux/ui
  • logo

License

doIt! (including the doIt! repo) is licensed under the MIT license