MohamadAzarifar / portfolio

Responsive Portfolio built with Flutter

Home Page:https://aladdine.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portfolio πŸ’™ Licence Stars Forks

Flutter Portfolio – by @Aaldn

Flutter 3 Dart 3 Firebase

Live Preview πŸ‘€

Features ✨

πŸ’™ Responsive and adaptive design, inspired by Brittany Chiang
πŸ’™ Riverpod Architecture by Andrea Bizzotto
πŸ’™ Feature-first structure
πŸ’™ Multiple languages
πŸ’™ Multiple themes
πŸ’™ Multi-platform (Android, iOS, macOS, Windows, Linux, Web)

Packages in use πŸ“¦

These are the main packages used in the app:

See the pubspec.yaml file for the complete list

Fork and deploy with Firebase πŸš€

If you haven't already, install Flutter

Fork and clone this repository (see how to fork and clone a repo)

Navigate to your portfolio directory :

$ cd portfolio

Install dependencies:

$ flutter pub get

Generator πŸ€–

1. Run the code generator:

$ dart run build_runner build --delete-conflicting-outputs

For additional information, refer to the build_runner documentation

2. Generate localization files:

$ dart run easy_localization:generate -S assets/translations -f json -O lib/src/localization/generated -o locale_json.g.dart
$ dart run easy_localization:generate -S assets/translations -f keys -O lib/src/localization/generated -o locale_keys.g.dart

Firebase πŸ”₯

If you haven't already, install Firebase CLI

1. Log into Firebase:

$ firebase login

2. Install the FlutterFire CLI:

$ dart pub global activate flutterfire_cli

3. Create a new Firebase project:

$ firebase projects:create

? Please specify a unique project id (warning: cannot be modified afterward) [6-30 characters]:
 <my-unique-project-id>
? What would you like to call your project? (defaults to your project ID) <my-unique-project-id>

4. Set the Firebase project for your portfolio:

$ firebase use --add

? Which project do you want to add? (Use arrow keys)
❯ <my-unique-project-id>
? What alias do you want to use for this project? (e.g. staging) default

5. Configure your apps to use Firebase:

$ flutterfire configure

i Found 1 Firebase projects. Selecting project <my-unique-project-id>.
? Which platforms should your configuration support (use arrow keys & space to select)? β€Ί 
βœ” android                                                
βœ” ios                                                    
βœ” macos                                                  
βœ” web                                                    
βœ” windows                                                
βœ” linux                                                  

For additional information, refer to the Firebase setup documentation

6. Initialize Firebase Hosting:

$ firebase init hosting

? What do you want to use as your public directory? (public) build/web
? Configure as a single-page app (rewrite all urls to /index.html)? (y/N) y
? Set up automatic builds and deploys with GitHub? (y/N) N

7. Deploy:

$ flutter build web --web-renderer canvaskit --release --no-tree-shake-icons
$ firebase deploy --only hosting

Personalization πŸ› οΈ

Note: After making changes, ensure to re-deploy your online portfolio

Content πŸ–‹

1. Portfolio Content:
Modify or add JSON translation files within assets/translations folder to customize the portfolio content. Don't forget to re-generate your localization files. For an understanding of how JSON translation files are structured, refer to the translation template

If you add or remove a JSON translation file, remember to update the languages key in your other translation files. Also, update the supported locales in the lib/src/localization/app_localizations.dart

For additional information, refer to the easy_localization documentation

2. Your description:
Change the content of your description in the build/web/index.html:

<meta name="description" content="...">

Theme 🎨

1. Launcher Icon and Splash Screen:
Update your launcher icon and your splash screen in the flutter_launcher_icons-production.yaml and the flutter_native_splash-production.yaml

Then, run:

$ dart run flutter_launcher_icons -f flutter_launcher_icons.yaml
$ dart run flutter_native_splash:create --path=flutter_native_splash-production.yaml

For additional information, refer to the flutter_launcher_icons and flutter_native_splash documentations

License πŸ“„

This project is licensed under the MIT License - see the LICENSE file for details

About

Responsive Portfolio built with Flutter

https://aladdine.dev

License:MIT License


Languages

Language:Dart 64.6%Language:C++ 15.7%Language:CMake 12.6%Language:HTML 2.7%Language:Ruby 1.9%Language:Swift 1.5%Language:C 1.0%Language:Kotlin 0.1%Language:Objective-C 0.0%