- 💬 Ask me about » anything, I'd love to chat.
- ⚡ Fun fact » I'm pluviophile
renejfc / support-chat Goto Github PK
View Code? Open in Web Editor NEWSupport chat app. ~Built with Nuxt.
Home Page: https://support-chat-eight.vercel.app
Support chat app. ~Built with Nuxt.
Home Page: https://support-chat-eight.vercel.app
Needs #4
Login page with text fields for user and password and a button to submit.
POST /login
Request:
{ “user”: “USERNAME”, “password”: “PASSWORD” } // Valid credentials are admin / admin
Header: Content-Type: application/json
Response:
200 OK: { “session_id”: “TOKEN” }
401 UNAUTHORIZED: no body
Page with an input field for the user to send messages and the history of all the messages sent
and received so far.
GET /getWelcomeMessage
Request:
Header: Content-Type: application/json
Header: Authorization: Bearer SESSION_ID
Response:
200 OK: { “response”: [ BOT_MESSAGES ] }
401 UNAUTHORIZED: no body
POST /sendMessage
Request:
Header: Content-Type: application/json
Header: Authorization: Bearer SESSION_ID
{“text”: “user message”}
Response:
200 OK: { response: [ BOT_MESSAGES ] }
401 UNAUTHORIZED: no body
Where BOT_MESSAGES are a JSON object which can be one of the following:
{“type”: “text”, “text”: “bot message”}
{“type”: “image”, “url”: “image url”}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.