Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.24 KB

File metadata and controls

52 lines (37 loc) · 1.24 KB

SE team4 Fit4U

This is only BackEnd code for android App Fit4U

Front: Android APP source code

BackEnd URL: http://fit4u.tk/ (received domain name from freenom site)

  • server shutdown now *

Use Env

GCP: 서버구축

Nodejs: 서버 개발 및 라우팅

MySql: 데이터베이스

OpenSource

Sequelize: ORM으로 데이터베이스랑 연동을 더 편하게 하기 위해 사용

Phpmyadmin: 웹상에서 데이터 베이스를 관리할 때 사용

multer: 서버에 이미지 저장할 때 사용

express-session: 로그인 상태 세션 유지를 위해 사용

sha256: DB상에 유저의 비밀번호를 암호화하여 저장하기 위해 사용

how to use

fill the /configs/config.json by server and DB's user information

./configs/config.json

Install all dependencies

npm install

run the local server

node bin/www

connect(this server only use port 80)

localhost

how to check routing

로컬에서 확인하는 경우는 localhost를 이용하며 실제로 안드로이드 앱은 fit4u.tk를 이용하고 있다.
그리고 ./doc/REST Doc.xlsx 파일의 라우팅 정보를 통해서 일정한 input 값을 넣고 값을 받으면 된다.