montacerdk / fb-login-react-native-nest

An example project that contains login with Facebook in React Native app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FB Login React Native Nest

      ███████╗ ██████╗         ██╗       ██████╗   ██████╗  ██╗ ███╗   ██╗
      ██╔════╝ ██╔══██╗        ██║      ██╔═══██╗ ██╔════╝  ██║ ████╗  ██║
      █████╗   ██████╔╝ █████╗ ██║      ██║   ██║ ██║  ███╗ ██║ ██╔██╗ ██║
      ██╔══╝   ██╔══██╗ ╚════╝ ██║      ██║   ██║ ██║   ██║ ██║ ██║╚██╗██║
      ██║      ██████╔╝        ███████╗ ╚██████╔╝ ╚██████╔╝ ██║ ██║ ╚████║
      ╚═╝      ╚═════╝         ╚══════╝  ╚═════╝   ╚═════╝  ╚═╝ ╚═╝  ╚═══╝

In this project, you will fins the integration of Facebook login button in React Native app. This app is connected with a Nest.js app that exposes regular sign in and sign up endpoints.

Prerequisites

  1. Use a Linux based system.
  2. Install Make sudo apt install make.
  3. Install Docker and Docker Compose.

Configure

You can get this porject up and running on your local dev environment in 1 minute. You just need to create and fill the environment variables file .env.

Run

In order to run this project in your local machine, run the make local command on the project root folder. This will run docker-compose down && docker-compose up -d --build --remove-orphans and create the Backend containers.

  • backend
  • pg-db
  • pgadmin

For the React Native app, you'll need to run it manually using NPM or Yarn.

About

An example project that contains login with Facebook in React Native app.


Languages

Language:TypeScript 93.0%Language:Shell 6.6%Language:Makefile 0.5%