- just client (api server not work on this demo)
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 (this repo.)
- Gmoney-Store-Web
- Java 8
- Spring Boot 2
- Spring data JPA
- Gradle
- PostgreSQL 12
- Nginx
- Docker, Docker-compose
Click to view Docs on Swagger Hub
- Docker
- Docker-compose 3.4
-
Run docker-compose file
$ sudo docker-compose -f docker-compose-dev.yml up --build
-
Execute alembic to DB migration
$ alembic upgrade head
-
Get local-money store current situation data-set and import to postgres.
- OpenJDK
- PostgreSQL database server
-
JDK
sudo add-apt-repository ppa:openjdk-r/ppa sudo apt install openjdk-11-jdk
-
Turn on your postgres server
-
Modify
/src/main/resources/application-develop.ymlconfiguration file.spring: datasource: username: <YOUR PSQL USERNAME> password: <YOUR PSQL PASSWORD> url: jdbc:postgresql://<YOUR PSQL IP>:<YOUR PSQL PORT>/<YOUR PSQL DB>
-
Modify
/alembic.ini(DB migration tool configuration file based on python)- sqlalchemy.url = postgresql+psycopg2://roharon:password@localhost/gmoney-test + sqlalchemy.url = postgresql+psycopg2://<YOUR PSQL USERNAME>:<YOUR PSQL PASSWORD>@>YOUR PSQL IP>/<YOUR PSQL DB>
-
Get local-money store current situation data-set and import to postgres.
Distributed under the MIT License. See LICENSE for more information.
