Todosappdeploy - Todos REST API build using echo server

Overview

Testing

Todos

Week 5 - Project Todo List

Todos REST API build using echo server.

The code implementation was inspired by Layered Architecture

  • Configs
    Contain database and http configuration
  • Delivery (API)
    API http handlers or controllers
  • Entities
    Contain database model
  • Repository
    Contain implementation entities database anq query with ORM.
  • Utils
    Contain database driver (mySQL)

Setup Database

  1. Read Documentation link
  2. Create User Database in folder 'configs'

Setup Apps Via Docker

  1. Get into todos directory
  2. Create docker network
    docker network create koneksiku
    
  3. Docker network ip
    docker network inspect koneksiku
    
  4. Create docker database image 'mySQL'
    docker run -d \
    --network koneksiku --network-alias mysql \
    -v todo-mysql-data:/var/lib/mysql \
    -e MYSQL_USER=todosadmin \
    -e MYSQL_ROOT_PASSWORD=todos123 \
    -e MYSQL_DATABASE=to_do_lists_test \
    mysql:latest
    
  5. Get into docker mysql shell
    docker exec -it dockerid mysql -utodosadmin -ptodos123
    
  6. Query something
  7. Open New Terminal
  8. Create docker image from 'Dockerfile'
    docker built -t imagename .
    
  9. Run apps inside docker image
    docker run -it --network koneksiku imagename
    

How To Run Apps

  1. Create Database Based on Configs
  2. Execute Command:
    go run main.go
  3. Read Documentation in folder OpenApi

How To Test Apps

COMING SOON
A REST API microservices-based Twitter Clone server.

Simple API Twitter Clone A REST API microservices-based project to fetch, edit, post, and delete tweets. API documentation The API documentation is bu

null 0 Nov 22, 2021
go-whatsapp-rest-API is a Go library for the WhatsApp web which use Swagger as api interface

go-whatsapp-rest-API go-whatsapp-rest-API is a Go library for the WhatsApp web which use Swagger as api interface Multi-devices (MD) Support. This ver

null 14 Jan 10, 2022
Api-product - A basic REST-ish API that allows you to perform CRUD operations for Products

Description A basic REST-ish API that allows you to perform CRUD operations for

Abdul Salim 0 Jan 3, 2022
Triangula-api-server - API server for processing images with Triangula

Triangula API server Minimalistic API server that calculates and serves artistic

Maik Schneider 0 Jan 9, 2022
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK)

simples3 : Simple no frills AWS S3 Library using REST with V4 Signing Overview SimpleS3 is a golang library for uploading and deleting objects on S3 b

Rohan Verma 74 Jan 8, 2022
Simples3 : Simple no frills AWS S3 Library using REST with V4 Signing

simples3 : Simple no frills AWS S3 Library using REST with V4 Signing Overview SimpleS3 is a golang library for uploading and deleting objects on S3 b

Rohan Verma 70 Nov 30, 2021
Go Twitter REST and Streaming API v1.1

go-twitter go-twitter is a Go client library for the Twitter API. Check the usage section or try the examples to see how to access the Twitter API. Fe

Dalton Hubble 1.4k Jan 21, 2022
Golang client for PayPal REST API

Go client for PayPal REST API Coverage POST /v1/oauth2/token POST /v1/identity/openidconnect/tokenservice GET /v1/identity/openidconnect/userinfo/?sch

Alex Pliutau 463 Jan 13, 2022
Unofficial Go SDK for GoPay Payments REST API

Unofficial Go SDK for GoPay Payments REST API Installation go get https://github.com/apparently-studio/gopay-go-api Basic usage client := gopay.NewCl

Apparently Studio 2 Oct 6, 2021
Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs

PnPjs is a fluent JavaScript API for consuming SharePoint and Microsoft Graph REST APIs in a type-safe way. You can use it with SharePoint Framework,

Microsoft 365 Community 544 Jan 14, 2022
Use Google REST api to extract your personal Photo Library

Photo Go A better approach to extracting your photos from Google to your personal cloud. I'm moving my photos out of Google to a Synology NAS. create

James 2 Dec 7, 2021
Go REST API for movies

Greenlight API Greenlight is an api, i implemented by following the book Let's Go Further by Alex Edwards If you like what you see please consider buy

Ricardo Ribeiro 0 Dec 18, 2021
Hassle-free REST API testing for Go

melatonin melatonin is a fluent, flexible REST API testing library for Go. It provides many of the benefits of a domain-specific test language but wit

Jeff Linse 12 Jan 8, 2022
A rest-api that works with golang as coin portfolio

Koinfolio A rest-api that works with golang as coin portfolio Technical Details Golang/Gin is used as application framework MongoDB is database Usage

Kürşad BİLGİN 1 Dec 13, 2021
REST API for "MovieShare".

movieshare_api Repository for backend of project "MovieShare". MovieShare API An awesome API for project "MovieShare". Requirements See modules list i

RikuHatano 0 Dec 27, 2021
Stq - Simple Task Queue with REST API

stq Simple Tasks Queue with HTTP API Environments list: Variable Value BACKEND m

Alexey Stupenkov 0 Jan 5, 2022
Rest API to get KVB departures - Written in Go with hexagonal architecture and tracing via OpenTelemetry and Jaeger

KVB API Rest API to get upcoming departures per KVB train station Implemented in Go with hexagonal architecture and tracing via OpenTelemetry and Jaeg

Jan Ritter 0 Jan 10, 2022
Pokemon Unite scoreboard HUD and extra tools running over captured game feeds using the OpenCV video processing API and Client/Server architecture.

unite Pokemon Unite scoreboard HUD and extra tools running over captured game feeds using the OpenCV video processing API. Client (OBS Live) Server Ar

pidgy 2 Jan 13, 2022
Simple CRUD API written in Go, built using AWS SAM tool and using the AWS' infrastructure.

tutor-pet API Simple CRUD API written in Go, built using AWS SAM tool and using the AWS' infrastructure. Macro architecture: Code architecture: Pre-Re

Lucas Ferreira 1 Jan 8, 2022