My Gram is a rest api that functions to manage users, save a photo or make comments on other people's photos, etc
Config the .env first to connect into database
- Clone repository
git clone https://github.com/alrico11/mygram-kelompok7.git
- Change directory
cd mygram-kelompok7
- Run "main.go" file
go run main.go
POST
- http://localhost:8080/users/register - Create User Account
POST
- http://localhost:8080/users/login - Login User
PUT
- http://localhost:8080/users/ - Update Data User
DELETE
- http://localhost:8080/users/ - Delete User Account
POST
- http://localhost:8080/photos/ - Post a Photo
GET
- http://localhost:8080/photos/ - Get All Photo
PUT
- http://localhost:8080/photos/:photoId - Update Photo Posted
DELETE
- http://localhost:8080/photos/:photoId - Delete Photo Posted
POST
- http://localhost:8080/comments/ - Post a Comment
GET
- http://localhost:8080/comments/ - Get Comment User
PUT
- http://localhost:8080/comments/:commentId - Update User Comment Posted
DELETE
- http://localhost:8080/comments/:commentId - Delete User Comment Posted
POST
- http://localhost:8080/socialmedias/ - Post a Social Media info
GET
- http://localhost:8080/socialmedias/ - Get User Social Media
PUT
- http://localhost:8080/socialmedias/:socialMediaId - Update Social Media info User
DELETE
- http://localhost:8080/socialmedias/:socialMediaId - Delete Social Media info User
- Alrico Rizki Wibowo - GLNG-KS04-017
- Ricky Khairul Faza - GLNG-KS04-022
- Muhammad Rafid - GLNG-KS04-024
Alrico Rizki Wibowo mengerjakan beberapa hal berikut :
Endpoint
: POST /users/registerEndpoint
: POST /users/loginEndpoint
: PUT /usersEndpoint
: DELETE /usersEndpoint
: POST /commentsEndpoint
: GET /commentsEndpoint
: PUT /comments/:commentIdEndpoint
: DELETE /comments/:commentIdHelper
: Generate Password, Verify Password, jwt, dan ValidatorAdditional
: Deploy API to Railway App
Muhammad Rafid mengerjakan beberapa hal berikut :
Endpoint
: POST /photosEndpoint
: GET /photosEndpoint
: PUT /photos/:photoIdEndpoint
: DELETE /photos/:photoIdEndpoint
: POST /commentsEndpoint
: GET /commentsEndpoint
: PUT /comments/:commentIdEndpoint
: DELETE /comments/:commentIdHelper
: Unit Test dan .envAdditional
: help Alrico and Ricky for fixing bug
Ricky Khairul Faza mengerjakan beberapa hal berikut :
Endpoint
: POST /socialmediasEndpoint
: GET /socialmediasEndpoint
: PUT /socialmedias/:socialMediaIdEndpoint
: DELETE /socialmedias/:socialMediaIdEndpoint
: POST /commentsEndpoint
: GET /commentsEndpoint
: PUT /comments/:commentIdEndpoint
: DELETE /comments/:commentIdDocumentation
: Postman CollectionAdditional
: Add README.md