Git Product home page Git Product logo

moody-backend's Introduction

Moody

The idea behind this project is as a user to do some activity based on your mood and coonect people of the same mood on the same location. The Activities are all happen at the moment no plans,they are set based on a user mood. User can see who are joining the activity, a user can then decided to join if a user like the other users joined the activity, Users joined the same activity can also chat each other. The app trackers the user location and shows activities only near user location.

Database

Diagram of data models: Database-model

Endpoints

Method Path Purpose Required arguments
POST /auth/signup create a new user account, a token will be included in the response email, password, firstName, lastName
POST /auth/login login with an existing user account, creating a token email, password
GET /auth/me fetch information of the user connected to the token in store none
GET /moods fetch the data of all the moods none
GET /avatars fetch all the avatar characterstics id
POST /activities/:id create a new activity minAge, maxAge, lat, lng, photo, token
POST /activities/join/:id join activity activityId as param token
POST /activities/disjoin/:id disjoin from activity activityId as param

Front end repo

For more information regarding Moody please find the front end repo HERE

moody-backend's People

Contributors

maki44 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.