Skip to content

Repository files navigation

Welcome to your Expo app 👋

This is an Expo project created with create-expo-app.

Get started

  1. Install dependencies

    npm install
  2. Configure environment variables

    Crie um arquivo .env na raiz do projeto baseado no .env.example:

    cp .env.example .env

    Preencha as variáveis EXPO_PUBLIC_FIREBASE_* com as credenciais do seu projeto Firebase.

    Estrutura dos Usuários no Firestore (usuarios/{uid}): Para que o login por CPF funcione, cada documento deve conter:

    • cpf: string (ex: "12345678901" ou formatado)
    • email: string (e-mail cadastrado no Firebase Auth)
    • nome: string
    • role: 'cidadao' ou 'agente'
  3. Start the app

    npx expo start

In the output, you'll find options to open the app in a

You can start developing by editing the files inside the app directory. This project uses file-based routing.

Get a fresh project

When you're ready, run:

npm run reset-project

This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.

Learn more

To learn more about developing your project with Expo, look at the following resources:

Join the community

Join our community of developers creating universal apps.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages