Code Monkey home page Code Monkey logo

simplechat's People

Contributors

roat167 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

simplechat's Issues

User login

Login

  • implement JWT (JSON web token)
  • login (username/password)

Chat view / update task

List

This endpoint allows a user to view a paginated list of all chats.
Each chat should have a list of users who have chatted and the last message of the chat.

Create

This endpoint allows a user to create a chat and post the first message

Update

This endpoint allows the user to update a chat that they created.
It should throw an error if a user tries to update a chat that they have not created.

ChatMessage view / create task

List

This endpoint allows a user to view a paginated list of chat messages.
The order of the message pagination should be DESC by the date they were created.

Create

This endpoint allows a user to create a new message in a chat.

Logout

This task is to create logout request.
Request will return exception when trying to call without first login
Upon called, the request will invalidate the token

User profile

For current user

Read

This allows a user to view their own profile

Update

This allows a user to update their own profile

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.