All Projects → hasura → React Native Auth Boilerplate

hasura / React Native Auth Boilerplate

Licence: apache-2.0
A react native boilerplate with authentication already implemented

Projects that are alternatives of or similar to React Native Auth Boilerplate

Laravel5.7 Vue Cli3 Boilerplate
Boilerplate / Starter kit. Laravel 5.7, Vue CLI 3 — Authentication with Email Verification. REST API.
Stars: ✭ 52 (-83.06%)
Mutual labels:  authentication, auth, boilerplate
Angular 8 Registration Login Example
Angular 8 User Registration and Login Example
Stars: ✭ 198 (-35.5%)
Mutual labels:  authentication, boilerplate
Huge
Simple user-authentication solution, embedded into a small framework.
Stars: ✭ 2,125 (+592.18%)
Mutual labels:  authentication, auth
Go Guardian
Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.
Stars: ✭ 204 (-33.55%)
Mutual labels:  authentication, auth
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (-6.19%)
Mutual labels:  authentication, boilerplate
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-50.16%)
Mutual labels:  authentication, boilerplate
Express Graphql Boilerplate
Express GraphQL API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 201 (-34.53%)
Mutual labels:  authentication, boilerplate
React Native Instagram Login
a react native instagram login component (support android & ios). Pull requests are welcome!
Stars: ✭ 139 (-54.72%)
Mutual labels:  authentication, auth
Mosquitto Go Auth
Auth plugin for mosquitto.
Stars: ✭ 212 (-30.94%)
Mutual labels:  authentication, auth
Flask Base
A simple Flask boilerplate app with SQLAlchemy, Redis, User Authentication, and more.
Stars: ✭ 2,680 (+772.96%)
Mutual labels:  authentication, boilerplate
Fullstack Apollo Express Mongodb Boilerplate
💥A sophisticated GraphQL with Apollo, Express and MongoDB boilerplate project.
Stars: ✭ 301 (-1.95%)
Mutual labels:  authentication, boilerplate
Angular 7 Registration Login Example
Angular 7 User Registration and Login Example
Stars: ✭ 147 (-52.12%)
Mutual labels:  authentication, boilerplate
Vuejs2 Authentication Tutorial
Stars: ✭ 144 (-53.09%)
Mutual labels:  authentication, auth
Sapper Ecommerce
Svelte ecommerce - Headless, Authentication, Cart & Checkout, TailwindCSS, Server Rendered, Proxy + API Integrated, Animations, Stores, Lazy Loading, Loading Indicators, Carousel, Instant Search, Faceted Filters, 1 command deploy to production, Open Source, MIT license. Join us as contributor ([email protected])
Stars: ✭ 289 (-5.86%)
Mutual labels:  authentication, auth
Laravel Scaffold
The base for developing awesome projects
Stars: ✭ 142 (-53.75%)
Mutual labels:  authentication, boilerplate
Laravel Adminless Ldap Auth
Authenticate users in Laravel against an adminless LDAP server
Stars: ✭ 199 (-35.18%)
Mutual labels:  authentication, auth
Express Mongoose Es6 Rest Api
💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (+815.64%)
Mutual labels:  authentication, boilerplate
Flask simplelogin
Simple Login - Login Extension for Flask - maintainer @cuducos
Stars: ✭ 133 (-56.68%)
Mutual labels:  authentication, auth
Fullstack Apollo React Boilerplate
💥A sophisticated Apollo in React boilerplate project.
Stars: ✭ 136 (-55.7%)
Mutual labels:  authentication, boilerplate
Qtfirebase
An effort to bring Google's Firebase C++ API to Qt + QML
Stars: ✭ 208 (-32.25%)
Mutual labels:  authentication, auth

React Native Auth Boilerplate

This is a React Native boilerplate with auth already implemented. It uses Nativebase for the UI and Hasura APIs for the backend.

This has been created as an open-source boilerplate by the Hasura team. There are instructions below in case you wish to use this boilerplate without the Hasura APIs.

gif

Who should use this?

  • Fullstack React Native developers looking to start building an app with authentication already covered. You can modify both the UI and the backend logic to customize it per your own requirements.

  • Developers trying to use Hasura with React Native.

Getting Started

Using this with the Hasura APIs

Make sure you have hasura CLI installed.

  • Clone the repo and cd into it.

    $ git clone https://github.com/hasura/react-native-auth-boilerplate
    
  • cd into expo directory if you wish to use the expo SDK, or cd into the vanilla react native app directory

  • Quickstart with the base Hasura project and apply the configuration of the project to the newly created Hasura cluster, as per the instructions below.

    $ hasura quickstart base
    $ cd base
    $ git add . && git commit -m "Applying configuration"
    $ git push hasura master
    

The hasura quickstart command clones a base Hasura project with basic configuration and creates a free tier Hasura cluster. Running a git push to the hasura remote applies the configuration from the project (the base project in this case) to the cluster.

Running the app

  • You will obtain a cluster name after running hasura quickstart. Go back to the expo (or vanilla) directory and set this clusterName in Hasura.js. Also set useHasuraApis to true.

    const clusterName = "<your cluster name>";
    const useHasuraApis = true;
    
  • Install node modules.

    $ npm install
    
    • If you are using yarn
    $ yarn install
    
  • Run the app.

    • If you are using Expo,

      $ npm start
      
    • If you are using vanilla React Native,

      # For Android
      $ react-native run-android
      
      # For iOS
      $ react-native run-ios
      

Using this without the Hasura APIs

You will have to configure your own login methods if you are not using the Hasura APIs.

  • For using the application with Expo SDK, click here for more detailed instructions.

  • For using this with vanilla react native, click here for more detailed instructions.

Contribute

React Native Auth boilerplate is an open source project licensed under Apache License 2.0.

Contributions are welcome. Please read the contribution guide for more information.

Gallery

Login with Username

iOS

iosusername

Android

androidusername

Login with Email

iOS

iosemail

Android

androidemail

Login with OTP

iOS

iosotp

Android

androidotp

Google and Facebook

Expo

iOS

iossocial

Android

androidsocial

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].