Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timatifey/split-and-pay
DevDays Fall 2023. Hackathon project.
https://github.com/timatifey/split-and-pay
Last synced: 20 days ago
JSON representation
DevDays Fall 2023. Hackathon project.
- Host: GitHub
- URL: https://github.com/timatifey/split-and-pay
- Owner: timatifey
- License: mit
- Created: 2023-11-13T09:34:38.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-17T08:48:49.000Z (about 1 year ago)
- Last Synced: 2024-10-16T14:58:45.045Z (2 months ago)
- Language: Kotlin
- Size: 1.15 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# split-and-pay
DevDays Fall 2023. Hackathon project.- [split-and-pay](#split-and-pay)
* [Backend](#backend)
+ [Installation](#installation)
+ [Api](#api)## Backend
### Installation
1. Clone repository
```bash
git clone https://github.com/timatifey/split-and-pay.git
cd split-and-pay/backend
```
2. Build the docker image
```bash
docker build -t splitandpay/backend:latest .
```
3. Create config (for example)
```yml
spring:
data:
mongodb:
uri: mongodb://localhost:27017/split-and-pay
```
4. Create .env file (for example)
```
CONFIG_DIR=/etc/split-and-pay/backend/
```
5. Run docker-compose
```bash
docker-compose -f docker-compose.yml up -d
```### Api
You can see all api methods on [this wiki](https://github.com/timatifey/split-and-pay/wiki/endpoints) page
## iOS
### Installation
1. Clone repository
2. Check our XCode version, minimum is 15.0
3. In file `APIURL.swift` set real server address
```swift
static let apiURL = "http://{place here server address}/api"
```
4. Run app via XCode for Device or Simulator, minimum iOS version is 16.2