https://github.com/jecode93/user_authentication
https://github.com/jecode93/user_authentication
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jecode93/user_authentication
- Owner: jecode93
- License: mit
- Created: 2024-11-05T23:55:01.000Z (over 1 year ago)
- Default Branch: development
- Last Pushed: 2024-12-09T01:00:54.000Z (over 1 year ago)
- Last Synced: 2024-12-09T02:18:43.636Z (over 1 year ago)
- Language: C++
- Size: 289 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Getting Started
This project demonstrates a simple Flutter app using Supabase authentication with Google. Follow the steps below to set up and run the project locally.
## Prerequisites
- [Flutter SDK](https://docs.flutter.dev/get-started/install) installed
- A [Supabase](https://supabase.com/) account
## Project Setup
#### Clone the Repository git
- `git clone https://github.com/jecode93/user_authentication.git`
- `cd user_authentication`
#### Install Dependencies
- Run the following command to install the necessary packages:
`flutter pub get`
#### Create a Supabase Project
- Go to [Supabase](https://supabase.com/) and create a new project.
- From the Supabase dashboard, go to Connecting to your new project section > Project API to get your API URL and Anon Key.
#### Configure OAuth Providers in Supabase
- In the Supabase dashboard, go to Authentication > Providers.
- Enable Google and Facebook providers and configure them with the required credentials.
#### Create a .env File
In the root directory of the project, create a file named `.env` with the following content, replacing `your-supabase-url` and `your-anon-key` with your Supabase details:
- `SUPABASE_URL=https://your-supabase-url.supabase.co`
- `SUPABASE_ANON_KEY=your-anon-key`
#### Running the App
Run the following command to start the application:
- `flutter run`
## Authors
👤 **Jean Emmanuel Cadet**
- GitHub: [@jecode93](https://github.com/jecode93)
- LinkedIn: [jean-emmanuel-cadet](https://www.linkedin.com/in/jean-emmanuel-cadet/)
- Facebook: [@jecode93](https://www.facebook.com/jecode93)
- Instagram: [@jecode93](https://instagram.com/jecode93)
- Twitter: [@jecode93](https://twitter.com/jecode93)