Git Product home page Git Product logo

foodmate42_archive's Introduction

이 레포지토리는 해커톤 당시의 결과를 보여드리는 것이 목적이므로 유지보수되지 않습니다.

Foodmate42 🍽

42 서울 카뎃분들이 밥을 먹고 싶을 때 같이 먹을 사람을 모집하거나 찾을 수 있는 웹 서비스 어플리케이션입니다.

Installation

  1. Ecole 42의 인트라넷에 접속해 어플리케이션을 등록합니다.
  2. 등록한 어플리케이션의 정보를 이용해 서버의 환경 변수를 다음과 같이 설정해주세요.
export FORTYTWO_CLIENT_ID="[Your app's client ID]"
export FORTYTWO_CLIENT_SECRET="[Your app's client secret]"
  1. MySQL 데이터베이스 서버에 FoodMate42라는 데이터베이스를 작성해주세요. (config/db.js를 수정해 변경 가능.)
  2. 데이터베이스 서버에 다음 명령어로 user라는 테이블을 생성해주세요.
CREATE TABLE user(
	id INT(10) NOT NULL
);
  1. 데이터베이스 서버의 정보를 이용해 서버의 환경 변수를 다음과 같이 설정해주세요.
export RDS_HOSTNAME="[Your database server's host name]"
export RDS_USERNAME="[Your database server's user name]"
export RDS_PASSWORD="[Your database server's password]"
export RDS_PORT="[Your database server's port]"
  1. 프로젝트의 최상위 폴더에서 다음 명령어를 실행해주세요.
yarn start

Feature

  • Node.js와 Express.js를 이용한 기본적인 웹 서버 구현.
  • Passport.js, Passport-42, 42 API를 활용한 로그인 구현.
  • 로그인한 유저가 데이터베이스 내에 없을 경우 데이터베이스에 username 추가.
  • 식사 모임을 모집하는 게시글 목록 리스트 출력 및 게시글 열람 기능.
  • 게시글 열람 시 참여 버튼을 이용해 모임에 선착순으로 참여 가능.
  • 게시글 작성 기능.

Developers

  • sochoi: Frontend.
  • sean: DB.
  • dongkang: Backend.

Thanks to

  • Every 42 Seoul Kadet

Story

foodmate42_archive's People

Contributors

o-kreator avatar

Stargazers

Eui Jin Jung avatar

Watchers

 avatar

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.