Skip to main content

JS Configurations

In src/config/index.js, you will find configuration variables for different environments (development, staging, production). Update them according to your credentials:

  • API_URL: Your backend URL.
  • SOCKET_URL: The socket URL. When running the development environment on your local machine, it will be the same as API_URL. After deploying, use the wss:// protocol.
  • GOOGLE_WEB_CLIENT_ID: Google client ID (as obtained from the steps above in Google login setup).
  • FB_APP_ID: Facebook app ID (as mentioned in the previous steps).