KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
DjangoCRUDBoard
★ 15
Open GitHub ↗
TUKorea C&D 프로젝트
Download README (.md)
Explore Similar Repositories
Reactive-Combine-MVVM-Templates
:
Xcode templates for reactive MVVM with Combine
SKYBEAT-MUSIC-PLAYER-WEB-APP
:
Music Player Website
PyTwits
:
PyTwits is a REST-API Wrapper for StockTwits.
Alpha-Download-Manager
:
This is Alpha Download Manager. User interfaces build using JavaFX.
Probabilistic_Programming
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
DjangoCRUDBoard
?
Download (.md)
# KPU C&D 프로젝트 - 게시판 백엔드(Django) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> [](https://raw.githubusercontent.com/DPS0340/DjangoCRUDBoard/master/) <!-- ALL-CONTRIBUTORS-BADGE:END -->   ## 설명 ### 게시판 간단한 포럼 기능을 할 수 있는 게시판 프로젝트의 **백엔드 서버** 깃허브입니다.\ 로깅(logging)과 모니터링 기능을 붙이고 CI/CD 파이프라인을 구성하였습니다.\ React 프론트엔드 깃허브는 [이곳](https://github.com/Front-end-PJ/Forum_Front_end)에서 확인 가능합니다. HTTP API 방식으로 JSON을 결과값으로 출력합니다. ELKB Stack은 도커 컨테이너에서 Ram 4GB 이상 할당되었을 때 원할하게 실행 가능합니다.\ 현재 docker-compose.yml상에서는 주석 처리를 해 놓은 상태입니다.\ 실행을 원하신다면 주석 처리를 해제해주세요. [스터디 자료 velog](https://velog.io/@dps0340/KPU-C%ED%81%AC%EB%A6%BF%EC%A5%AC%EC%A5%AC-%EC%8A%A4%ED%84%B0%EB%94%94-%EC%9E%90%EB%A3%8C) ## 로컬 설정 가이드 ### 설치 [도커 공식 홈페이지](https://docs.docker.com/get-docker/)에서 도커를 다운받아 주세요! ### 실행 ``` docker-compose stop docker-compose up --build ``` ### 환경 변수 설정 ``` 'Django_secret_key': 시크릿 키, 온라인 등에서 생성 가능 'BOARD_DEBUG': 디버깅 상태인가 나타내는 변수, 프로덕션에서는 설정 X ``` ## 아키텍처  ## 사용 스택 |분류|기술| |------|---| |배포환경|AWS Lightsail Ubuntu 20.04 LTS, Docker, Docker-compose| |개발|Python, Django| |의존성 관리|Pipenv| |CI/CD|Github Actions, AWS Codedeploy, Shellscrpit| |프론트엔드|React.js, Redux| |백엔드|Nginx, Gunicorn, Django| |데이터베이스|Docker-compose 상의 PostgreSQL| |로깅(logging)|Elasticsearch, Logstash, Kibana, Filebeat | |모니터링|Grafana, Prometheus| ## 데모  ## 팀원 <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"><a href="https://velog.io/@dps0340"><img src="https://avatars.githubusercontent.com/u/32592965?v=4?s=100" width="100px;" alt=""/><br /><sub><b>jiho lee</b></sub></a><br /><a href="https://github.com/DPS0340/DjangoCRUDBoard/commits?author=DPS0340" title="Code">💻</a></td> <td align="center"><a href="https://github.com/ww8007"><img src="https://avatars.githubusercontent.com/u/54137044?v=4?s=100" width="100px;" alt=""/><br /><sub><b>장동현</b></sub></a><br /><a href="https://github.com/DPS0340/DjangoCRUDBoard/commits?author=ww8007" title="Code">💻</a></td> <td align="center"><a href="https://github.com/SeungWookHan"><img src="https://avatars.githubusercontent.com/u/22572874?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Wooogy</b></sub></a><br /><a href="https://github.com/DPS0340/DjangoCRUDBoard/commits?author=SeungWookHan" title="Code">💻</a></td> <td align="center"><a href="https://github.com/Gnu-Kenny"><img src="https://avatars.githubusercontent.com/u/70069253?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Geunwoo Park</b></sub></a><br /><a href="https://github.com/DPS0340/DjangoCRUDBoard/commits?author=Gnu-Kenny" title="Code">💻</a></td> <td align="center"><a href="https://github.com/oldsalao"><img src="https://avatars.githubusercontent.com/u/72501782?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lee Ha Neul</b></sub></a><br /><a href="https://github.com/DPS0340/DjangoCRUDBoard/commits?author=oldsalao" title="Code">💻</a></td> </tr> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END --> | 이름 | 학과 | 역할 | 소개 페이지 | | ------ | ------------ | ---- | --------------------------------------------------- | | 이지호 | 컴퓨터공학과 | 백엔드, 도커라이즈, 로깅, 모니터링, CI/CD | [개인 프로필로 이동](https://github.com/DPS0340) | | 박근우 | 메카트로닉스공학과 | 백엔드, 도커라이즈 | [개인 프로필로 이동](https://github.com/Gnu-Kenny) | | 장동현 | 메카트로닉스공학과 | 프론트엔드 | [개인 프로필로 이동](https://github.com/ww8007) | | 이하늘 | 메카트로닉스공학과 | 프론트엔드 | [개인 프로필로 이동](https://github.com/oldsalao) | | 한승욱 | 컴퓨터공학과 | 백엔드, 도커라이즈, 모니터링 | [개인 프로필로 이동](https://github.com/SeungWookHan) | ## 데이터베이스 모델링  - 세부 설명 <ul>게시판은 관리자가 생성, 수정 및 삭제 가능.</ul> <ul>게시판에는 여러 게시글이 속한다.</ul> <ul>게시글에는 여러 댓글이 속한다.</ul> <ul>댓글에는 여러 대댓글이 속한다.</ul> <ul>유저는 여러개의 글을 생성, 수정 및 삭제 가능.</ul> <ul>유저는 여러개의 댓글을 생성, 수정 및 삭제 가능.</ul> <ul>유저는 여러개의 대댓글을 생성, 수정 및 삭제 가능.</ul> ## API Postman으로 문서화 하였습니다. [API 링크](https://documenter.getpostman.com/view/4929660/TVsxC6r1) ## PORTS ### 호스트 공유 80: 디버그 서버 API, 릴리즈 서버는 443 포트로 리다이렉트 443: 릴리즈 서버 API 포트로 사용 5000: grafana 5005: prometheus 5044: logstash 5601: kibana 8080: cadvisor 9200: elasticsearch ### 컨테이너 전용 5432: postgres 8000: gunicorn 서버 9100: node-exporter