-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:EpitechPromo2026/B-DEV-500-MAR-5-2-…
…area-martin.ramdane
- Loading branch information
Showing
3 changed files
with
118 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Mobile App | ||
|
||
## Setup | ||
|
||
In order to start using our project, the `.env` file must be set up! | ||
Use the `.env.example` file and complete it with the necessary **Client Id**, **Secret** for the services and the **Backend URL**. | ||
|
||
You also need to have flutter installed on your computer. | ||
|
||
Go to mobile folder and install the mobile dependencies: | ||
|
||
```bash | ||
flutter pub get | ||
``` | ||
|
||
## Run the project | ||
|
||
To run the project, you just need to run the following command: | ||
|
||
```bash | ||
flutter run | ||
``` | ||
|
||
## OAuth | ||
|
||
The mobile app use the oauth2 package to handle the OAuth2 authentication. The package is available here: [https://pub.dev/packages/oauth2](https://pub.dev/packages/oauth2) | ||
|
||
To add a new OAuth2 service, you need to add it to the `lib/services/oauth.dart` file. You can get inspired by the other services already implemented. | ||
|