Skip to content

rizalefhndi/finalProject2-kel2

Repository files navigation

MyGarm API - Hacktiv8 Final Project 2

The API is documented using Swagger. You can access the API documentation by starting the server and visiting http://localhost:8888/swagger/index.html in your web browser.

Live Deployment: MyGarm API - Final Project 2

Group 2

  • Efendi
  • Rizal
  • Novita
  • Moh. Ihsan

Features

  • Create a new user.
  • Get all users.
  • Get user details by ID.
  • Update user data by ID.
  • Delete a user by ID.
  • Upload a photo and add comments.
  • Get all photos.
  • Get photo details by ID.
  • Update photo data by ID.
  • Delete a photo by ID.

Technologies Used

  • Golang: The primary programming language for developing the API.
  • Gin Gonic: A web framework for creating RESTful APIs.
  • Gorm: An Object-Relational Mapping (ORM) library for Golang.
  • JSON: Data format for communication.
  • Mutex: To handle concurrent access to data.

How to Use

To get started with the MyGarm API, follow these steps:

  1. Clone this repository to your local machine.
  2. Run the command "go get" to install any required dependencies.
  3. Run the command "go run main.go" to start the server.
  4. Use Postman or similar applications to test the API by accessing the appropriate URLs for the desired endpoints.

Notes

  • This project is part of a collaborative effort by Group 2 as a Final Project 2 for Hacktiv8.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages