Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexennacht/myshop
Personal project for fun with go, docker, echo framework, mysql, redis
https://github.com/hexennacht/myshop
docker go mysql redis
Last synced: about 1 month ago
JSON representation
Personal project for fun with go, docker, echo framework, mysql, redis
- Host: GitHub
- URL: https://github.com/hexennacht/myshop
- Owner: hexennacht
- License: mit
- Created: 2022-02-08T08:05:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T09:35:01.000Z (over 2 years ago)
- Last Synced: 2024-09-30T07:02:08.851Z (about 2 months ago)
- Topics: docker, go, mysql, redis
- Language: Go
- Homepage:
- Size: 10.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MY SHOP
MY SHOP is a monorepo for my personal project to create shop app## How to run each services
```SHELL
$ docker network create myshop$ cd Docker/mariadb
$ docker-compose up -d
$ docker exec -it mariadb-db-1 mysql -h 127.0.0.1 -u root -psecret -e "CREATE DATABASE IF NOT EXISTS user_db;"
$ cd Docker/redis
$ docker-compose up -d
$ cd user
$ docker-compose up -d
```After running all of the command above confirm if the container is running
```SHELL
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ff48b71a8c55 user_app "./main" 4 minutes ago Up 4 minutes 0.0.0.0:8080->8080/tcp user_api
27e9c17de9ee redis:6.2.4-alpine "docker-entrypoint.s…" 6 minutes ago Up 6 minutes 0.0.0.0:6379->6379/tcp redis-redisd-1
428e24764296 adminer "entrypoint.sh docke…" 10 minutes ago Up 10 minutes 0.0.0.0:3000->8080/tcp mariadb-adminer-1
fb8b957b50ac mariadb_db "docker-entrypoint.s…" 10 minutes ago Up 10 minutes 0.0.0.0:3306->3306/tcp mariadb-db-1
```## Screen shoot
![register](https://github.com/hexennacht/myshop/blob/master/screenshoot/register.png?raw=true)
![register](https://github.com/hexennacht/myshop/blob/master/screenshoot/login.png?raw=true)
![register](https://github.com/hexennacht/myshop/blob/master/screenshoot/profile.png?raw=true)