final-project-02

command module
v0.0.0-...-7d0be85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 2 Imported by: 0

README

MyGram

Project Status Contributors License

MyGram is a social media application that enables users to store their personal photos and comment on others' pictures. This project is part of the Final Project 02 for the Magang dan Studi Independen Bersertifikat (MSIB) program at Hacktiv8.

Team Members

  • Ahmad Arsy (GLNG-KS-08-05)
  • Eki Alfani (GLNG-KS08-012)
  • Fabianus Jericho Harapan Jaya Sipayung (GLNG-KS08-015)

Technologies

The project is built using the following technologies:

  • Programming Language: Golang
  • Framework: Gin-Gonic
  • Database: PostgreSQL
  • HTTP Server: Gin HTTP Server
  • API Docs: Swagger

Installation

  1. Clone the repo
  git clone https://github.com/hacktiv8-fp-golang/final-project-02.git
  1. Navigate to the root directory
  cd final-project-02
  1. Create a .env file in the root directory
  touch .env
  # or
  echo > .env
  1. Add environment variable
  DB_HOST=Database host (example: localhost)
  DB_USER=Database username (example: postgres)
  DB_PASSWORD=Database user's password (example: postgres)
  DB_PORT=Database port (example: 5432)
  DB_NAME=Name of the database to be used (example: "database name")
  DB_SSLMODE=Database SSL mode (example: disable)
  PORT=Port for the server to run on (example: 8080)
  1. Run the project
  go run main.go

Deployment

The API has been deployed and can be accessed here.

Contributing

We welcome contributions from developers to improve this project. Please check the ISSUES for a list of tasks that need to be done.

License

This project is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL