This is a Backend API project using MongoDB and Golang for Appointy Summer Internship
Pre-Requisites:
- MongoDB
- Go
To Run:
- Open Terminal and navigate to the folder
- In terminal type "go run main.go"
- The program will run and use port 9000 to communicate
- Open Postman
- Select Get to retrive data and Post to create new data
User: For GET use URL 'http://localhost:9000/users/{id}' For Post use URL 'http:localhost:9000/users'
Sample JSON: { 'Name':'{name}', 'Email':'{email}', 'Password':'{password}' }
Post: For GET use URL 'http://localhost:9000/posts/{id}' For Post use URL 'http:localhost:9000/posts'
Sample JSON: { 'Caption':'{caption}', 'Image_URL':'{image url}' }