COntact APP
How to build
./flask-app-build <verion_minor> <version_major>
- Above script will genrate a Debian file. Now install debian file in any Ubuntu Machine with sudo dpkg -i <generatd_file>.deb
Current APIs
Each API needs a header in Request ith field name as below
email: "String"
for API 1 and 2:
Request Body:
{
"email" : string,
"password" : string
}
for API 4 ,5 Request Body: { "email" : string, "name" : string, "phone": string, ...... }
- http://localhost:700/api/vi/contact [POST]
- http://localhost:700/api/vi/contact [PUT]
- http://localhost:700/api/vi/contact [DELETE]
Integration testing (Testing for Contact APIs CREATE, PUT and Delete)
How run:
CD into Repo directory Just Run
sudo python setup.py test