Code Monkey home page Code Monkey logo

daedongyeomap-backend's Introduction

데동여지도 🗺️❤️

위치기반 데이트 기록/공유 웹

This project is not maintained anymore, please check dedongyeomap-backend

daedongyeomap-backend's People

Contributors

gunh0 avatar minkj1992 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daedongyeomap-backend's Issues

Group by

db.sales.aggregate([
// First Stage
{
$match : { "date": { $gte: new ISODate("2014-01-01"), $lt: new ISODate("2015-01-01") } }
},
// Second Stage
{
$group : {
_id : { $dateToString: { format: "%Y-%m-%d", date: "$date" } },
totalSaleAmount: { $sum: { $multiply: [ "$price", "$quantity" ] } },
averageQuantity: { $avg: "$quantity" },
count: { $sum: 1 }
}
},
// Third Stage
{
$sort : { totalSaleAmount: -1 }
}
])

로그인

  1. oauth
  • facebook
  • google
  • kakao
  • naver
  1. validation

USER CRUD

  • user table 생성
  • 권한 관리
  • 타 db 테이블 업데이트
  • 약관 처리

Tracking

모바일에서 활용할, 사용자 위치 트래킹 기능

  • position 저장
  • image process, 움직인 길들을 이어주는 이미지 프로세싱

이모지 create

  • placeemoji를 붙이면 spot이 생성되기 때문에, emoji 생성 경우 spot까지 같이 저장해주어야 함.

sql & nosql 병행

  • path, geolocation의 경우 nosql
  • main 테이블에서는 prisma를 쓰는 방향으로 rdbms 사용

어드민 사이트 생성

  • 실 서비스를 고려한다면, 관리할 어드민 사이트 필요
  • feature
    • 유저 사용 중지
    • 특정 댓글 사용 중지
    • 선정적이거나 문제가 되는 spot 처리 등

comment Create

  • placecomment(방명록)를 달게 되면, place는 상태를 가진 spot으로 저장되어야 하기 때문에, comment 생성 경우 spot까지 같이 저장해주어야 함.

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.