Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.34 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.34 KB

About

This is a simple CRUD application built with React Native for maintaining users. This project uses a Hasura GraphQL API to interact with a PostgreSQL database that's hosted on Heroku.


Setup

In order to run this application you need to install Expo.

Environment Configuration

You will need to create AppConfig.tsx with the following:

export const GRAPHQL_URL = '<your_hasura_graphql_url>'

Run

npm start

Build

expo build # build app for both platforms
expo build:android # build app for android
expo build:ios # build app for ios
expo export:web # export for web

PostgreSQL (Database)

The PostgreSQL database contains only a single schema with one table - users.

users

Field Type Optional PK
id int NO YES
first_name text NO NO
last_name text NO NO
email text NO NO

Credits

Created by @scarnett

License

License: MIT
Copyright © 2022 Scott Carnett. Licensed under the MIT License (MIT)