Giter VIP home page Giter VIP logo

loopback-messaging-app's People

Contributors

aquid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

loopback-messaging-app's Issues

Add a simple UI

Phase 1:

  1. Login
  2. See all of the messages that are meant for you (The key idea here is to find out about, generate and start using lb-services client file in your Angular UI)

Phase 2:

  1. Login or Signup
  2. See all of the messages that are meant for you

Phase 3:

  1. Login or Signup
  2. see names of people whom messages came from
  3. drill down into each name to see the messages from that person

Phase 4:

  1. Login or Signup
  2. see names of people whom messages came from and a button to send messages
  3. ability to open a new conversation or reuse an existing conversation when sending message
  4. ability to go back to the conversation list page
  5. drill down into each name to see the messages from that person and the ones you sent to them too

Use loopback framework to add default values

While user data such as:

        {
            name:'Aquid Shahwar',
            username: 'shahwarcoder',
            email: '[email protected]', 
            password: 'aquid123',
            createdAt: new Date(),
        }

is perfectly valid. If you want to take your familiarity with the loopback framework further, then take the next step by defining your user's model to perform an automatic value injection for the createdAt field.

References:

  1. Look for defaultFn
  2. Github has samples too, search code with keywords: defaultfn language:json

Also some tangential concepts and fun reads:

A mixin to automatically generate createdAt and updatedAt Date attributes for loopback Models:
https://github.com/clarkbw/loopback-ds-timestamp-mixin

Sample / example:
https://github.com/strongloop/loopback-example-mixins

Use Mixins for everything!
strongloop/loopback#1578

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.