Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.41 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.41 KB

About

This is a simple CRUD application built with Flutter 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 Flutter.

Environment Configuration

You will need to create lib/env_config.dart with the following:

class EnvConfig {
  static const String GRAPHQL_URL = '<your_hasura_graphql_url>';
}

Run

flutter run

Build

flutter build apk # android apk
flutter build appbundle # android app bundle
flutter build ios # ios application bundle
flutter build ipa # ios archive bundle
flutter build web # 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 © 2021 Scott Carnett. Licensed under the MIT License (MIT)