Code Monkey home page Code Monkey logo

gotogether-backend's Introduction

gotogether-backend

gotogether-frontend - backend go together (springboot - rest - jpa - security)

https://devsunset.mooo.com:8282/swagger-ui/index.html

http://193.123.252.22:8282/swagger-ui/index.html

  • mariadb

    docker run --restart=always --name mariadb -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=PASSWORD -v /workspace/app/mariadb:/var/lib/mysql/ mariadb

    mariadb docker shell 접속

    docker exec -it mariadb /bin/bash

    mysql -u root -p

    select now();

    set global time_zone = 'Asia/Seoul';

    set time_zone = 'Asia/Seoul';

    select now();

데이터베이스 확인

  SHOW DATABASES;

데이터베이스 생성

CREATE DATABASE gotogether;

아이디 생성

CREATE USER 'gotogether'@'%' IDENTIFIED BY 'PASSWORD';

사용자 권한 주기

GRANT ALL PRIVILEGES ON gotogether.* TO 'gotogether'@'%';

새로고침

FLUSH PRIVILEGES;

FeeDNS (무료 도메인)

https://freedns.afraid.org/

FreeSSL

https://letsencrypt.org/
sudo apt-get update
sudo apt-get install certbot
sudo certbot certonly --standalone -d yourdomain.com
sudo openssl pkcs12 -export -in /etc/letsencrypt/live/yourdomain.com/fullchain.pem -inkey /etc/letsencrypt/live/yourdomain.com/privkey.pem -out gotogether.p12 -name gotogether -CAfile /etc/letsencrypt/live/devsunset.mooo.com/chain.pem -caname root

sudo certbot renew

사설인증서 (PROD 환경만 https 설정 - 로컬에서 PROD 환경 테스트시 사설인증서 생성하여 사용 )

keytool -genkeypair -alias gotogether -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore gotogether.p12 -validity 3650

Build

./gradlew bootJar

gotogether-backend's People

Contributors

devsunset avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.