https://github.com/roharon/gmoney-store-server
💳 Local-money Store finding service server
https://github.com/roharon/gmoney-store-server
dataset docker-compose korea local-money postgres spring-boot
Last synced: 2 months ago
JSON representation
💳 Local-money Store finding service server
- Host: GitHub
- URL: https://github.com/roharon/gmoney-store-server
- Owner: roharon
- License: mit
- Created: 2020-04-26T04:00:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-10T05:12:41.000Z (over 5 years ago)
- Last Synced: 2025-03-23T00:43:08.741Z (over 1 year ago)
- Topics: dataset, docker-compose, korea, local-money, postgres, spring-boot
- Language: Java
- Homepage: https://master-gmoney-store-web-roharon.endpoint.ainize.ai
- Size: 108 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gmoney Store Server
 


[](https://ainize.web.app/redirect?git_repo=https://github.com/roharon/gmoney-store-web) - just client (api server not work on this demo)
## About The Project
Store finding service that support local-money in Gyeonggi-do, Republic of Korea.
Need GPS permissions allow to find store nearby.
This repository is the API server using REST architecture
* All of the Gmoney Store Repository
- [Gmoney-Store-Server](https://github.com/roharon/gmoney-store-server) (this repo.)
- [Gmoney-Store-Web](https://github.com/roharon/gmoney-store-web)
### Tech Stack
* Java 8
* Spring Boot 2
* Spring data JPA
* Gradle
* PostgreSQL 12
* Nginx
* Docker, Docker-compose
### API document
[Click to view Docs on Swagger Hub](https://app.swaggerhub.com/apis-docs/roharon/Gmoney-store-server/1.0#)
## Getting Started - with Docker
### Prerequisites
* Docker
* Docker-compose 3.4
### Installation & Run
1. Run docker-compose file
```bash
$ sudo docker-compose -f docker-compose-dev.yml up --build
```
2. Execute alembic to DB migration
```bash
$ alembic upgrade head
```
3. Get [local-money store current situation](https://www.data.go.kr/data/15058640/openapi.do) data-set and import to postgres.
## Getting Started - without Docker (NOT RECOMMEND)
### Prerequisites
* OpenJDK
* PostgreSQL database server
### Installation
* JDK
```bash
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt install openjdk-11-jdk
```
1. Turn on your postgres server
2. Modify `/src/main/resources/application-develop.yml` configuration file.
```yml
spring:
datasource:
username:
password:
url: jdbc:postgresql://:/
```
3. Modify `/alembic.ini` (DB migration tool configuration file based on python)
```diff
- sqlalchemy.url = postgresql+psycopg2://roharon:password@localhost/gmoney-test
+ sqlalchemy.url = postgresql+psycopg2://:@>YOUR PSQL IP>/
```
4. Get [local-money store current situation](https://www.data.go.kr/data/15058640/openapi.do) data-set and import to postgres.
## License
Distributed under the MIT License. See `LICENSE` for more information.