/census-app

React native client app to register the people.

Primary LanguageTypeScript

Census App (Population registration app)

This is a basic client mobile app built while learning react-native. This app does not cover all the use cases related to population registration but the intention is to cover react-native fundamentals add basic features like login, security(JWT, secure cookie, authorization using tokens), validations, navigation, theming etc.

Demo(GIF)

Prerequisites

Please install latest NodeJS & NPM which is required to run this app.

This app is integrated with GraphQL-Apollo-Express-Server. So you will need to clone this repository locally and follow set up intructions available on that repository.

You will need to have Xcode and iOS simulator set up for IOS and for Android will need respective SDK & emulator set up before hand.

Installing

First install expo-cli

npm install -g expo-cli

Clone the repository by below command.

git clone https://github.com/noghanodedra/census-app.git

Then CD to cloned repo folder by

cd census-app
npm install

Locally running the app

Use below commands to start the app locally from the project root folder for respective platforms.

expo start --android
expo start --ios
expo start --web

Test users

Following test users are readily availabe to test the look and feel of the app.

admin@admin.com/admin
dev@dev.com/dev
test@test.com/test

Built With

  • Expo - With Expo tools, services, and React, you can build, deploy, and quickly iterate on native Android, iOS, and web apps from the same JavaScript codebase
  • React Native - Create native apps for Android and iOS using React
  • react-native-paper - Component lib for react native apps

Authors