Skip to content

Instagam is a simple RestFull API Social Media project. This project is made using the Go programming language and using the Gin framework. In the implementation of programming and layout, it uses Clean Architecture.

License

Notifications You must be signed in to change notification settings

adiprrassetyo/instagam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagam

Instagam is a RestFull API Social Media project. This project is made using the Go programming language and using the Gin framework. In the implementation of programming and layout, it uses Clean Architecture

The project structure is as follows:

Layer Directory
Frameworks & Drivers Infrastructures
Interface Interfaces
Usecases Usecases
Entities Domain

Getting Started

To start running this project locally,

git clone https://github.com/adiprrassetyo/instagam.git

Open mygram-api folder and install all required dependencies

cd instagam && go mod tidy

Copy the example env file and adjust the env file

cp .env.example .env

Start the server

  • The First Way To run directly the main.go file, you can use the following command:

    go run ./app/main.go
  • The Second Way To run using Makefile, you can use the command as follows:

    Make run
  • The Third Way To run using nodemon, you can use the command as follows:

    nodemon --exec go run ./app/main.go

    Or you can use a Makefile that has provided the nodemon command:

    Make run-nodemons

    For complete details on how to run using Makefile can be seen in the Makefile file.

Dokumentasi API

Check the Instagam API documentation

https://documenter.getpostman.com/view/23538862/2s9YC5wX3x

About

Instagam is a simple RestFull API Social Media project. This project is made using the Go programming language and using the Gin framework. In the implementation of programming and layout, it uses Clean Architecture.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published