항해99 9기 C반 11조 미니프로젝트 2022.09.19 - 2022.09.22
권순한(팀장), 장윤서, 주재정
굽기만 하는 요리에 지쳤어요...!😖 캠핑가서 다른 사람들은 멋있고 다양한 요리 하던데 어떻게 하는지 모르겠어요 😓 캠핑 요리 고수입니다!🧐 알고 있는 정보를 공유하고 싶어요 😎 쿡핑은 다양한 캠핑 요리 레시피를 손쉽게 공유하고 찾아볼 수 있는 사이트 입니다. Youtube 링크를 공유해 보세요! 🎬
[COOKPING] http://shoumini.shop/
https://hightechsoon.tistory.com/15
HTML / CSS / JavaScript / Python / Flask / mongoDB / Jinja2 /JQuery / Linux / AWS
기능 | Method | URL | Request | response |
---|---|---|---|---|
로그인 페이지 로드 | POST | /login | -- | return render_template('index.html', user_info=user_info) |
회원가입 페이지 로드 | POST | /login | -- | return render_template('index.html', user_info=user_info) |
로그인 | POST | /sign_in | {'username': username_receive, 'password': pw_hash} | 로그인 성공 - return jsonify({'result': 'success', 'token': token}) 로그인 실패 - return jsonify({'result': 'fail', 'msg': '아이디/비밀번호가 일치하지 않습니다.'}) |
회원가입 | POST | /sign_up/save | {"username": username_receive, "password": password_hash, "profile_name": username_receive, "profile_pic": "", "profile_pic_real": "profile_pics/profile_placeholder.png", "profile_info": "" } | return render_template('index.html', user_info=user_info) |
중복 검사 | POST | /login | "username": username_receive | return jsonify({'result': 'success', 'exists': exists}) |
메인페이지 | GET | /get_posts | /get_posts | return jsonify({"result": "success", "msg": "포스팅을 가져왔습니다.","posts":posts}) |
글쓰기 | POST | /posting | "username": user_info["username"], "profile_name": user_info["profile_name"], "profile_pic_real": user_info["profile_pic_real"], "comment": comment_receive, "date": date_receive | return jsonify({"result": "success", 'msg': '포스팅 성공'}) |
포스팅 | GET | /sign_up/check_dup | post["_id"] = str(post["_id"]) | return jsonify({"result": "success", "msg": "포스팅을 가져왔습니다.","posts":posts}) |
쿡핑과 팀원의 소개를 보여주는 페이지 보러가기 아이콘 클릭시 메인페이지로 이동