Building an emergency location sharing app in Django (part - 3)

Sharing the location...

This article tells about how to share the message through WhatsApp and SMS

Step-1 : Creating an account in Chat-API

Step-2 : Setting the values

Step-3 : Running the project 

So, let's start...

1 . Creating an account in Chat-API

 To send the messages we use Chat-APIA Chat-API is an application program interface that provides access to a server infrastructure with the stability and broad features required for real-time chat and messaging at a scale suited to your needs from an intimate  conversation to a massive chat. After creating an account an access key (token) and instance is assigned for that account, now open the dashboard and store these two values (token and instance).

 


  

Step-2 : Setting the values

Run the server



3 . Running the Project

           python3 manage.py makemigrations
           python3 manage.py migrate     
python3 manage.py runserver
       Now, open a Web browser and run http://127.0.0.1:8000/. This is the website of our project and it looks like this for the           first time.



Comments