Skip to content

x39OME/Login-Signup-Firebase-App-React-Native

Repository files navigation

Log in Sign up Firebase Authentication React Native

What did we use in the project?

Packages

  • npx create-expo-app Login-Signup-Ui
  • npm i nativewind
  • npm i --dev tailwindcss@3.3.2
  • npx tailwindcss init
  • npm install @react-navigation/native
  • npx expo install react-native-screens react-native-safe-area-context
  • npm install @react-navigation/native-stack
  • npm i react-native-responsive-screen
  • npm i react-native-heroicons
  • npm i react-native-heroicons react-native-svg
  • npm install firebase
  • npx expo install --fix
  • npx expo install
  • expo install --fix
// tailwind.config.js
module.exports = {
- content: [],
+ content: ["./App.{js,jsx,ts,tsx}", "./<custom directory>/**/*.{js,jsx,ts,tsx}"],
  theme: {
    extend: {},
  },
  plugins: [],
}

  content: [
    "./App.{js,jsx,ts,tsx}", 
    "./screens/**/*.{js,jsx,ts,tsx}",
    "./components/**/*.{js,jsx,ts,tsx}"
  ],

3. Add the Babel plugin

Modify your babel.config.js

// babel.config.js
module.exports = function (api) {
  api.cache(true);
  return {
    presets: ["babel-preset-expo"],
+   plugins: ["nativewind/babel"],
  };
};

Preview Final Project

Welcome Screen

Welcome

Login Screen

Login

Sign up Screen

Signup

Home Screen

Home

Run The Project

  • Download
  • Open The Project
  • Terminal
  • npm i
  • npx expo
  • -w or Open Expo App On your Phone

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published