https://github.com/nuung/ddmap
2020) Rate, Find, Search and Look toilet which is good and best from you.
https://github.com/nuung/ddmap
bootstrap4 css3 docker ec2 express full-stack html5 hybrid-application mongodb mysql nginx nginx-proxy nodejs restful-api swagger
Last synced: 3 months ago
JSON representation
2020) Rate, Find, Search and Look toilet which is good and best from you.
- Host: GitHub
- URL: https://github.com/nuung/ddmap
- Owner: Nuung
- Created: 2020-07-15T11:40:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T10:19:07.000Z (over 3 years ago)
- Last Synced: 2024-04-18T09:24:07.108Z (about 2 years ago)
- Topics: bootstrap4, css3, docker, ec2, express, full-stack, html5, hybrid-application, mongodb, mysql, nginx, nginx-proxy, nodejs, restful-api, swagger
- Language: JavaScript
- Homepage:
- Size: 5.65 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/Nuung/DDmap/issues)[](https://hits.seeyoufarm.com)
# DDMap
> 모든 화장실에 대한 모든 것, 대똥여지도 - DDMap
- Quick Project To do : [Click](https://github.com/Nuung/DDmap/projects/1)
## Getting Started
- 시작전 Infra / Stack을 체크하고 환경을 먼저 조성해야 합니다.
- 기본적으로 nodejs, nginx, env, database 모두 환경 설정이 되어야 합니다.
```bash
git clone https://github.com/Nuung/DDmap.git
cd ddmap-backend
sudo npm install
npm start # before this line, u have to check out the env! like db pass,,, etc
```
------------
## Design and Architecture about Project
### Mysql ERD
- 초기 모델 v0.1 ERD (2020.06 ~), 이미지와 현재 개발 DB 관계는 다를 수 있음
- 가장 핵심적인 관계는 Toilet table과 review임. 1 : 1 or N의 관계
### Architecture
- MVC patten으로 최대한 지향했으며, 최대한 restful하게 하려고 노력함. mysql db가 메인 db로 적절한 사용을 위해 ***ORM으로 sequelize***를 사용함
------------
## Infra / Stack
### AWS EC2 ubuntu 18.0.*
- free tier
### WebServer(EC2)
- nginx
- test-frontend forwarding
- /home/ubuntu/projects/ableProject/test-frontend
- reverse proxy server setting (not yet)
- front-end
- HTML5, CSS3 with bootstarp
- vanilla javascript (at first)
- to react.js (to scale up)
### WebApplicationServer(EC2)
- back-end
- Nodejs
- express, resetAPI
### restfulApi Docs(maybe localhost)
- [swagger](https://github.com/swagger-api/swagger-node)
- ```npm install -g swagger```
- https://swagger.io/specification/
- But, local 환경 조성은 나중에 할듯,, 우선 swagger hub를 사용!
### DataBase
- mysql
- mongoDB
### IDE
- Visual Studio Code
- sftp
### SSH
- putty(just in window)
- private key: local download folder
### ETC
- github
### Open-source
- Docker (not yet)
- Elasticsearch (not yet)
©copyright ALL Copyrights reserved by Hyeonwoo, Jeong