IkramKhan-DevOps / exp-aigenie

This API server is built to support a mobile chat application that utilizes GPT features

Home Page:https://exarth.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Chat Application API Server

This API server is built to support a mobile chat application that utilizes GPT features. The API server provides the following features:

Authentication

  • User registration
  • User login
  • Token-based authentication
  • Role-based access control

Chatbot

  • GPT-powered conversation
  • Customizable prompt
  • Language detection
  • Small talk capability

User Profile

  • Retrieve user profile
  • Update user profile
  • Delete user profile

Message

  • Send message
  • Retrieve message history
  • Delete message

Contact

  • Retrieve user's contacts
  • Add/remove contact

Notification

  • Send push notification
  • Retrieve notification history

The API server is built using a popular web framework such as Django or Flask, and the database used is MongoDB or Firebase for storing user data, message and contact data.

Endpoints of the API are designed to be RESTful, which means that the endpoints are organized around the standard HTTP methods like GET, POST, PUT, and DELETE, and the endpoints are designed to be stateless.

Authentication of the API is done using JSON Web Token (JWT), which is a compact, URL-safe means of representing claims to be transferred between two parties.

The API server is designed to be scalable and able to handle a high number of requests. Caching is implemented using Redis or Memcached to improve the performance of the API.

API documentation

  • All the endpoints of the API are documented in OpenAPI (Swagger) format and can be accessed at /docs/
  • API endpoint are versioned using a versioning scheme like v1 or v2

Deployment

  • API server is deployed on cloud providers like AWS, GCP or Heroku
  • Automated deployments using jenkins

Maintenance

  • The API server is regularly updated to the latest version of the framework and dependencies
  • Security patches are applied as needed
  • Backups are taken regularly to ensure data recovery in case of any disaster

About

This API server is built to support a mobile chat application that utilizes GPT features

https://exarth.com/

License:MIT License


Languages

Language:CSS 48.6%Language:JavaScript 38.2%Language:HTML 10.7%Language:Python 2.4%