An open API service indexing awesome lists of open source software.

https://github.com/bryanfks-dev/courtly

Easily order a court or sport field with a Mobile App
https://github.com/bryanfks-dev/courtly

dart flutter

Last synced: about 1 month ago
JSON representation

Easily order a court or sport field with a Mobile App

Awesome Lists containing this project

README

          

# Courtly: Easily order a court or sport field

**Courtly** is an mobile app for sports field booking with an innovation to overcome traditional booking systems. By utilizing technology, users can make reservations for sports field facilities only through their smartphone gadgets without the need to come to the location or chat via WhatsApp. Courtly can also provide **real-time field availability information**, allowing users to **choose the time they want**, and can make **payments directly with flexible and secure methods**.

## 🚀 Key of Features

Courtly app includes several features, such as:

1. **Find Courts**: Browse sports courts you want by types.
2. **Court Booking**: Book sports courts quickly.
3. **Ratings & Reviews**: Rate courts and players for a better experience.
4. **Flexible & Secure Payment**: Order a sports courts with a single-tap and various secure payment.

## 🛠️ Technologies Used

- **Flutter SDK**: [Install Flutter](https://docs.flutter.dev/get-started/install).
- **Dart**: Comes with Flutter but ensure it's installed.
- **Backend Server**: [Visit backend repo](https://github.com/bryanfks-dev/Courtly-Service).

## 💻 Local Development

### Requirement(s):

- Flutter
- Android Studio (optional) / VSCode
- Mobile phone emulator

### Steps

Follow these steps to set up the project locally:

1. Clone the repository:

```bash
git clone https://github.com/bryanfks-dev/Courtly.git
cd Courtly
```

2. Install depedencies:

```bash
flutter pub get
```

3. Configure configs:

```bash
cd lib/core/config
```

Set the backend server ip address and api version:

```dart
/// [baseUrl] is the base URL of the API server.
static const String baseUrl = '...';

/// [version] is the version of the API server.
/// [version] should always start with 'v' followed by the version number.
static const String version = 'v...';
```

Set the midtrans client key:

```dart
/// [clientKey] is the client key from Midtrans
static const String clientKey = "...";
```

4. Start your emulator:

For AVD Emulator:

```bash
emulator -avd
```

5. Start the app:

```bash
flutter run
```

## 📄 License

This project is licensed under the [MIT License](https://github.com/bryanfks-dev/Courtly/blob/main/LICENSE).