Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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