Skip to content

Commit 4de7161

Browse files
committed
2.x
0 parents  commit 4de7161

File tree

244 files changed

+17332
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+17332
-0
lines changed

.env

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# *<! ------ App ------!>*
2+
3+
APP_NAME="MyApp"
4+
APP_ENV="developing" // developing / production
5+
APP_DEBUG="true"
6+
APP_URL="https://mywoocommercestore.com"
7+
API_BASE_URL="https://mywoocommercestore.com"
8+
9+
ASSET_PATH_PUBLIC="public"
10+
ASSET_PATH_IMAGES="public/images"
11+
TIMEZONE="UTC"
12+
13+
LIGHT_THEME_ID="default_light_theme"
14+
DARK_THEME_ID="default_dark_theme"
15+
AUTH_USER_KEY="AUTH_USER"
16+
FCM_ENABLED=null
17+
18+
# *<! ------ Language ------!>*
19+
20+
DEFAULT_LOCALE=null
21+
# supports: "en" (English), "es" (Spanish), "fr" (French), "hi" (Hindi), "it" (Italian), "pt" (Portuguese), "zh" (Simplified Chinese), "id" (Indonesian) or "th" (Thai)
22+
23+
# *<! ------ WooSignal Config ------!>*
24+
25+
APP_KEY="your app key"
26+
# App key from WooSignal link: https://woosignal.com/dashboard
27+
28+
# *<! ------ STRIPE (OPTIONAL) ------!>*
29+
30+
STRIPE_ACCOUNT=null
31+
# Stripe account key from WooSignal https://woosignal.com/dashboard
32+
33+
STRIPE_COUNTRY_CODE=null
34+
# Alpha-2 country code list: https://www.iban.com/country-codes
35+
36+
STRIPE_LIVE_MODE=null
37+
# Change to 'true' for live payments and update the "Environment for Stripe" here https://woosignal.com/dashboard
38+
39+
# *<! ------ PAYPAL (OPTIONAL) ------!>*
40+
41+
PAYPAL_CLIENT_ID=""
42+
PAYPAL_SECRET_KEY=""
43+
44+
PAYPAL_LIVE_MODE=false
45+
# Change to 'true' for live payments
46+
47+
# *<! ------ RAZORPAY (OPTIONAL) ------!>*
48+
49+
RAZORPAY_API_KEY=""
50+
51+
ENCRYPT_KEY=null
52+
ENCRYPT_SECRET=null
53+
54+
# *<! ------ EXTRAS ------!>*
55+
56+
PRODUCT_PLACEHOLDER_IMAGE="https://woosignal.com/images/woocommerce-placeholder.png"
57+
# Sets the default placeholder image for products with no image
58+
59+
APP_HERO_VIDEO="preview.mp4"
60+
# The hero video on the landing page
61+
62+
GYM_LOCATION="https://maps.app.goo.gl/Hb8M8rCpmW8gQXRq9"
63+
# The location of your gym
64+
65+
GYM_PHONE_NUMBER="+1 123 456 7890"
66+
# The phone number of your gym
67+
68+
GYM_EMAIL_ADDRESS="[email protected]"
69+
# The email address of your gym
70+
71+
GYM_TYPE_OF_CLASSES="HIIT, Strength, Yoga, Pilates, and more"
72+
# The type of classes your gym offers
73+
74+
SK_USER="SK_USER"

.env-example

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
APP_NAME="Nylo"
2+
APP_ENV="developing"
3+
APP_DEBUG=true
4+
APP_URL="https://nylo.dev"
5+
6+
API_BASE_URL="https://your-api.com"
7+
8+
ASSET_PATH_PUBLIC="public/assets"
9+
ASSET_PATH_IMAGES="public/assets/images"
10+
TIMEZONE="UTC"
11+
DEFAULT_LOCALE="en"
12+
13+
LIGHT_THEME_ID="light_theme"
14+
DARK_THEME_ID="dark_theme"
15+
16+
AUTH_USER_KEY="AUTH_USER"

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [agordn52]

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
.dart_tool/
26+
.flutter-plugins
27+
.flutter-plugins-dependencies
28+
.packages
29+
.pub-cache/
30+
.pub/
31+
/build/
32+
33+
# Web related
34+
lib/generated_plugin_registrant.dart
35+
36+
# Symbolication related
37+
app.*.symbols
38+
39+
# Obfuscation related
40+
app.*.map.json
41+
42+
# Exceptions to above rules.
43+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

.metadata

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 1ad9baa8b99a2897c20f9e6e54d3b9b359ade314
8+
channel: stable
9+
10+
project_type: app

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 WooSignal
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
![Nylo Banner](https://nylo.dev/images/nylo_logo_header.png)
2+
3+
<p align="center">
4+
<a href="https://github.com/nylo-core/nylo/releases"><img src="https://img.shields.io/github/v/release/nylo-core/nylo?style=plastic" alt="Latest Release Version"></a>
5+
<a href="https://github.com/nylo-core/nylo/blob/master/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/nylo-core/nylo?style=plastic"></a>
6+
<a href="#"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nylo-core/nylo?style=plastic"></a>
7+
</p>
8+
9+
## Nylo
10+
11+
Nylo is a micro-framework for Flutter which is designed to help simplify developing apps. Every project provides a simple boilerplate and MVC pattern to help you build apps easier.
12+
13+
This project is open source and MIT-licenced, we welcome any contributions. You can join as a backer/sponsor to fund future development for this project [here](https://nylo.dev)
14+
15+
---
16+
17+
## Features
18+
Some core features available
19+
* [Routing](https://nylo.dev/docs/6.x/router).
20+
* [Themes and styling](https://nylo.dev/docs/6.x/themes-and-styling).
21+
* [Localization](https://nylo.dev/docs/6.x/localization).
22+
* [CLI for generating project files](https://nylo.dev/docs/6.x/metro).
23+
* [Elegant API Services for Networking](https://nylo.dev/docs/6.x/networking).
24+
* [Creating App Icons](https://nylo.dev/docs/6.x/app-icons).
25+
* [Project Configuration](https://nylo.dev/docs/6.x/configuration).
26+
* [Streamlined Project Structure](https://nylo.dev/docs/6.x/directory-structure).
27+
28+
## Requirements
29+
* Flutter >= 3.24.0
30+
31+
## Getting Started
32+
33+
``` bash
34+
git clone https://github.com/nylo-core/nylo.git
35+
```
36+
37+
## Documentation
38+
View our [docs](https://nylo.dev/docs) and visit [nylo.dev](https://nylo.dev)
39+
40+
## Changelog
41+
Please see [CHANGELOG](https://github.com/nylo-core/framework/blob/6.x/CHANGELOG.md) for more information what has changed recently.
42+
43+
## Social
44+
* [Twitter](https://twitter.com/nylo_dev)
45+
46+
## Security
47+
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
48+
49+
## Contributors
50+
* [Anthony Gordon](https://github.com/agordn52)
51+
* [lpdevit](https://github.com/lpdevit)
52+
* [Abdulrasheed1729](https://github.com/Abdulrasheed1729)
53+
* [Rashid-Khabeer](https://github.com/Rashid-Khabeer)
54+
* [youssefKadaouiAbbassi](https://github.com/youssefKadaouiAbbassi)
55+
* [jeremyhalin](https://github.com/jeremyhalin)
56+
* [abdulawalarif](https://github.com/abdulawalarif)
57+
* [lepresk](https://github.com/lepresk)
58+
* [joshua1996](https://github.com/joshua1996)
59+
* [stensonb](https://github.com/stensonb)
60+
61+
## Licence
62+
63+
The MIT License (MIT). Please view the [License](https://github.com/nylo-core/nylo/blob/master/licence) File for more information.

analysis_options.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file configures the analyzer, which statically analyzes Dart code to
2+
# check for errors, warnings, and lints.
3+
#
4+
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5+
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6+
# invoked from the command line by running `flutter analyze`.
7+
8+
# The following line activates a set of recommended lints for Flutter apps,
9+
# packages, and plugins designed to encourage good coding practices.
10+
#include: package:flutter_lints/flutter.yaml
11+
12+
linter:
13+
# The lint rules applied to this project can be customized in the
14+
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15+
# included above or to enable additional rules. A list of all available lints
16+
# and their documentation is published at https://dart.dev/lints.
17+
#
18+
# Instead of disabling a lint rule for the entire project in the
19+
# section below, it can also be suppressed for a single line of code
20+
# or a specific dart file by using the `// ignore: name_of_lint` and
21+
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
22+
# producing the lint.
23+
rules:
24+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
25+
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26+
27+
# Additional information about this file can be found at
28+
# https://dart.dev/guides/language/analysis-options

android/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
key.properties
12+
**/*.keystore
13+
**/*.jks

android/app/build.gradle

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
}
6+
7+
def localProperties = new Properties()
8+
def localPropertiesFile = rootProject.file('local.properties')
9+
if (localPropertiesFile.exists()) {
10+
localPropertiesFile.withReader('UTF-8') { reader ->
11+
localProperties.load(reader)
12+
}
13+
}
14+
15+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16+
if (flutterVersionCode == null) {
17+
flutterVersionCode = '1'
18+
}
19+
20+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
21+
if (flutterVersionName == null) {
22+
flutterVersionName = '1.0'
23+
}
24+
25+
android {
26+
namespace "com.nylo.android"
27+
compileSdk 34
28+
ndkVersion flutter.ndkVersion
29+
30+
compileOptions {
31+
coreLibraryDesugaringEnabled true
32+
sourceCompatibility JavaVersion.VERSION_1_8
33+
targetCompatibility JavaVersion.VERSION_1_8
34+
}
35+
36+
kotlinOptions {
37+
jvmTarget = '1.8'
38+
}
39+
40+
sourceSets {
41+
main.java.srcDirs += 'src/main/kotlin'
42+
}
43+
44+
defaultConfig {
45+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46+
multiDexEnabled true
47+
applicationId "com.nylo.android"
48+
// You can update the following values to match your application needs.
49+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
50+
minSdkVersion flutter.minSdkVersion
51+
targetSdkVersion flutter.targetSdkVersion
52+
versionCode flutterVersionCode.toInteger()
53+
versionName flutterVersionName
54+
}
55+
56+
buildTypes {
57+
release {
58+
// TODO: Add your own signing config for the release build.
59+
// Signing with the debug keys for now, so `flutter run --release` works.
60+
signingConfig signingConfigs.debug
61+
}
62+
}
63+
}
64+
65+
flutter {
66+
source '../..'
67+
}
68+
69+
dependencies {
70+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.2'
71+
}

0 commit comments

Comments
 (0)