Giter Club home page Giter Club logo

together-admin's Introduction

Together-Admin

This is capston project named Volunteer-Matching

and this repository is associated with Admin and API.

together-admin's People

Contributors

soyoung6488 avatar kobowon avatar

Watchers

 avatar

together-admin's Issues

[API] Helper 로그인(D:0.5,P:20)

  1. Http post 요청을 통해 userID, helper_pwd 전달
    2.1 존재하는 id,pwd 정보가 있으면 '로그인 성공' 메세지 전달
    2.2 존재하는 id,pwd 정보가 없으면 '아이디 또는 비밀번호를 다시 확인하세요' 메세지 전달
  2. postman 으로 확인 후 종료

[API]Helper 봉사 신청하기, 봉사 신청하기 취소(D:0.5,P:10)

Helper 봉사 신청하기

  1. http put 요청(volunteer_id,helper_ID 전달)
  2. volunteer_id와 매칭되는 volunteerItem에 helper_ID 저장, matchingStatus = 1로 변경
  3. postman으로 확인 시 종료

Helper 봉사 신청하기 취소

  1. http put 요청(volunteer_id)
  2. volunteer_id와 매칭되는 volunteerItem에 helper_ID = "", matchingStatus = 0으로 변경
  3. postman으로 확인 시 종료

[API]SWAGGER 활용

SWAGGER를 이용하여 API 문서 만들기

  1. SWAGGER 사용법 학습 후 종료

[Admin] 봉사 승인 페이지 필터 적용시키기 (D : 1.0)

  1. 봉사 승인 페이지에서 승인 상태에 따라 필터 작동시키기
  2. 봉사 승인 페이지에서 사용자 ID에 따라 필터 작동시키기
  3. 봉사 승인 페이지에서 날짜에 따라 필터 작동시키기
  4. 1,2,3 겹쳐서 필터링했을 때 제대로 동작해야함.

[Admin] DB 서버에 Mysql 설치 (D:1, P:10)

  1. DB 서버에 MYsql을 설치한다.
  2. Root 계정의 비밀번호는 aju1218** 로 설정한다.
  3. 개발자 계정을 생성한다. ID는 dev_volma PW는 volma!1team@2
  4. 개발자 계정을 통해 외부에서 접속할 수 있어야 한다.
  5. 'volma' database를 생성하고 user table, volunteer table, feedback table을 생성한다.

[Admin] 봉사 승인 페이지 디자인 (D:0.5)

  1. 봉사 승인 페이지의 전체적인 구조를 ppt로 그린다
  2. 버튼 같은 것들 기능을 정의한다.
  3. 2를 바탕으로 필요한 api 를 정의하고 문서화해서 보원이한테 넘긴다.

[API]파일 저장및 조회(D:4,P:40)

파일 저장

  1. multer 사용법 학습
  2. '/helpee/addUser'에 Http POST 요청( multipart form 형태)
  3. Admin/upload 상에 파일을 .jpeg 형식으로 저장
  4. 파일 경로를 db에 저장
  5. postman으로 확인
  6. 안드로이드 연동하여 확인 시 종료

조회

  1. app.use('/image',express.static('uploads')); 와 같이 파일접근 url base 생성
  2. '/getImage/:user_phone'에 Http GET 요청
  3. 파일 위치 전송(Server->Client)
  4. postman으로 확인
  5. 안드로이드 연동하여 확인시 종료

[Admin] 봉사승인 페이지 봉사 내역 상세보기 버튼, 승인하기 버튼 JavaScript로 구현(D: 2.0)

  1. 봉사내역 상세보기 버튼을 누르면 해당 봉사의 상세 내역을 보여준다.
    <상세내역>
  • Helper와 Helpee ID
  • 봉사 종류
  • 봉사 위치
  • 봉사시간(duration)
  • Helper와 Helpee가 서로에게 준 평점
  • Helper와 Helpee의 feedback content.
  1. 승인하기 버튼을 누르면 해당 봉사는 봉사시간 승인 대기 리스트에서 없어져야 한다.
  2. 거부하기 버튼을 누르면 해당 봉사는 봉사시간 승인 대기 리스트에서 없어져야 한다.

[API] 파일 업로드 API 구성(D:1,P:10)

1.local db에 임시 테이블 생성
2.파일 전송용 임시 html(form:post) 생성
3. html로 파일 업로드 후 전송 버튼 누르면
4. server 파일에 업로드
5. db에 업로드

1~5 완료시 종료

[Admin] 봉사 승인 페이지 승인 상태에 따른 봉사 리스트 보여주기(D : 2.0)

  1. 승인 상태에는 승인대기/승인완료/승인거부 상태가 있다.
  2. 승인대기 상태를 선택하면 승인대기중인 목록만 띄우고 승인 버튼과 거부 버튼이 생긴다.
  3. 승인완료 상태를 선택하면 승인완료 목록만을 띄우고 승인 취소 버튼이 생긴다.
  4. 승인거부 상태를 선택하면 승인거부 목록만을 띄우고 승인거부 취소 버튼이 생긴다.
  5. 승인거부 취소버튼이 눌리면 승인거부가 취소되고 승인 대기상태로 바뀐다.
  6. 승인취소 버튼이 눌리면 승인이 취소되고 승인 대기 상태로 바뀐다.

[API]Helper 회원가입(D:0.5,P:20)

  1. Http post 요청으로 유저 정보 전달
    var user = {
    userID: body.userID,
    helper_pwd: body.helper_pwd,
    helper_name: body.helper_name,
    user_phone : body.user_phone,
    userType : body.userType,
    userFeedbackScore : body.userFeedbackScore,
    profile_image : body.profile_image,
    token : body.token,
    helpee_latitude: body.helpee_latitude,
    helpee_longitude: body.helpee_longitude
    }
    2.1. ID 중복일 경우 '아이디 중복입니다' 메세지 출력
    2.2 ID 중복이 아닐 경우 '회원가입에 성공하였습니다' 메세지 출력
  2. postman test성공시 종료

[Admin] 사용자 관리 페이지 조회 요청 처리 Node js로 구현 (D:2, P:20)

  1. 사용자 ID 조회 요청이 오면 Volma database의 User Table로 부터 해당 문자열을 가지고 있는 사용자 list를 뽑아서 전달한다.
  2. 사용자 정보 요청이 오면 해당 ID의 사용자 정보와 총 평점 평균을 User Table에서 뽑아 전달한다.
  3. 봉사 내역 상세 정보 요청이 오면 Volma database의 Volunteer table에서 해당 봉사를 뽑아 전달한다.

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.