Skip to content

ygorrrteles/getx_hasura_crud_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Crud (Getx + Hasura)

A Flutter crud project based in Getx and Hasura offering basic structures for future projects.

Getting Started

Running this project

1. Verify installable pre-requisites to run:

2. Deploying a Hasura project

First you need to Sign Up Hasura and create a project for free, after configure your project create a table named produtos from hasura console on postgress database like bellow

| produtos

Column Column Type Nullable Unique
id Integer (auto-increment) false true
nome Text false true*
valor Numeric false false
In the unique Column true* is optional

Important: Setup the id like Primary Key

Primary Key
id

3. Running in the Emulator

Open the root directory of this repository in mac/linux/windows Terminal and type the following commands:

This command will refresh and download all project dependecies

flutter pub get

This command will compile and run the app

flutter run

After executing this command, the application will be running on your emulator.

4. Editing your project

See the Dart and Flutter Docs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

projeto exemplo utilizando GetX e Hasura

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages