Skip to content

Nimesh-Srivastava/Instagram-backend-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Backend API using GoLang and MongoDB

Language   Testing   DB   Type  


💢 Appointy tech internship task

The complete api is covered in main.go file.


💢 Pre-requisites

⚠️ Before running the application, please ensure you have the following packages installed :


The http server runs on port 9090 for this program, be sure to check it before testing.


💢 Password

Passwords have been securely stored on the server using bcrypt golang default package. This ensures that passwords cannot be reverse engineered by anyone.


💢 Thread Safety

There is never more than one simultaneous call to function throughout the api, hence, thread safety is ensured.


💢 API testing (using PostMan API platform)

The entire api has been tested using Postman API platform. Some screenshots are attached below for reference :

:atom: Add User :

Image 09-10-21 at 9 15 PM



:atom: Add post :

Image 09-10-21 at 9 16 PM



:atom: List posts by one user :

Image 09-10-21 at 9 16 PM



Conclusion

The api is fully functioning and works for all endpoints mentioned in the task.

About

Restful API in GOLang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages