RestApi framework GO Lang

resty

RestApi framework GO Lang

Before start

Download docker environment

https://github.com/VladimirYalumov/docker_pgdb_mongodb_redis
cd [path to docker-compose.yml]
docker-compose up -d

if need do this? or delete mongodb service (it needs to logging)

chmod -R 777 mongodb

Start

1. If you use my docker add this to configs

config.yml

db_host: "127.0.0.1"
db_name: "deewave"
db_user: "user"
db_password: "qwerty"
db_port: "5432"
smtp_server: "{yoursmtp server (make it empty? if you haven't smtp server)}"
email_user: "{your email on smtp server}"
email_password: "{your password for email on smtp server}"
redis_host: "127.0.0.1:6379"

tests/functional_tests/config.yml

db_host: "127.0.0.1"
db_name: "test"
db_user: "user"
db_password: "qwerty"
db_port: "5433"
smtp_server: ""
email_user: ""
email_password: ""
redis_host: "127.0.0.1:6378"

start project

go run .

Use postman collection go rest api.postman_collection.json to test api requests

Tests

Run this command
    cd tests/functional_tests
    go test -v
Similar Resources

Neo4j Rest API Client for Go lang

neo4j.go Implementation of client package for communication with Neo4j Rest API. For more information and documentation please read Godoc Neo4j Page s

Nov 9, 2022

Small TCP benchmarking tool in Go-lang

Simple TCP benchmark tool in Go =============================== This package provides simple command line tool to benchmark number of concurrent TCP

Aug 16, 2021

A Statsd implementation written in GO lang

statsgod Statsgod is a metric aggregation service inspired by the statsd project. Written in Golang, it increases performance and can be deployed with

Oct 1, 2022

Machine Learning libraries for Go Lang - Linear regression, Logistic regression, etc.

package ml - Machine Learning Libraries ###import "github.com/alonsovidales/go_ml" Package ml provides some implementations of usefull machine learnin

Nov 10, 2022

Go(lang) client library for Cachet (open source status page system).

cachet Go(lang) client library for Cachet (open source status page system). Features Full API support Components Incidents Metrics Subscribers Various

Sep 27, 2022

Go(lang) client library for accessing information of an Apache Mesos cluster.

megos Go(lang) client library for accessing an Apache Mesos cluster. Features Determine the Mesos leader Get the current state of every mesos node (ma

Sep 27, 2022

Go Lang Web Assembly bindings for DOM, HTML etc

WebAPI Go Language Web Assembly bindings for DOM, HTML etc WARNING: The current API is in very early state and should be consider to be expremental. T

Dec 28, 2022

REST API for RabbitMQ, Write with Google Go(lang).

RabbitMQ HTTP API REST HTTP API for RabbitMQ, it's not RabbitMQ Management Plugin. Status: Under active development. Required: * RabbitMQ (2.8+) * Go(

Aug 29, 2022

Pineapple Lang is a simple programming language demo implements by Go

Pineapple Lang is a simple programming language demo implements by Go. It includes a hand-written recursive descent parser and a simple interpreter, although the language is not even Turing-complete. But this repo's main goal is to give beginners of compilation principles a warm up and a simple look at how a programming language is built.

Dec 26, 2022

Extending the Monkey (programming) Lang from

🍈 Mellang 🍈 Mellang, an interpreted programming language Mellang VSCode Extension You can download it on https://marketplace.visualstudio.com/items?

May 20, 2022

Source code for the Container-lang programming language

Container-lang Container-lang is a lightweight, interpreted, esoteric scripting language based on the idea of "code containers", aiming to make it eas

Jan 21, 2022

A simple library for generating PDF written in Go lang

gopdf gopdf is a simple library for generating PDF document written in Go lang. Features Unicode subfont embedding. (Chinese, Japanese, Korean, etc.)

Jan 3, 2023

Nodebook - Multi-Lang Web REPL + CLI Code runner

Nodebook - Multi-Lang Web REPL + CLI Code runner

nodebook Nodebook - Multi-Language REPL with Web UI + CLI code runner Useful to practice algorithms and datastructures for coding interviews. What is

Dec 29, 2022

Support for Usagi API developed by @DanielaGC. The library is written in Go Lang

📦 Usagi API - Wrapper This library is simple and easy to use and was developed entirely for Usagi API written in Go Lang. 👨‍🏫 Example package main

Oct 18, 2021

Go lang IDE. Built with GopherSauce

Go lang IDE. Built with GopherSauce

IDE runs as a server and is accessed via web browser. Being a web server, the IDE boasts a web (HTML) interface is accessible from any device on your network.Compared to Microsoft VS Code and Eclipse CHE, this IDE is very minimalistic

Nov 28, 2022

Go-lang LDAP Authentication (GLAuth) is a secure, easy-to-use, LDAP server w/ configurable backends.

Go-lang LDAP Authentication (GLAuth) is a secure, easy-to-use, LDAP server w/ configurable backends.

A lightweight LDAP server for development, home use, or CI

Jan 9, 2023

TCP Port Scanner in GO lang

Port-Scanner-GO Simple TCP port scanner in golang. Installation & Build You have to have GO version 1.13 run: go build port-scanner-go.go Run single

Jun 6, 2022

Repository for learning GO lang

LearnGOLang Repository for learning GO lang. What is Go? Go is a fast, statically typed compiled language Compiled to machine level code, does not nee

Oct 15, 2021

Instagram Backend HTTP REST API using GO Lang and Mongo DB

Instagram Backend HTTP REST API using GO Lang and Mongo DB Project for Appointy Summer Internship . Project built within 25 hrs, with no prior knowled

Oct 10, 2021
Related tags
Nap is a file-based framework for automating the execution of config-driven HTTP requests and scripts.

Nap Nap is a file-based framework for automating the execution of config-driven HTTP requests and scripts. Installation Options Using go get $ go inst

Nov 17, 2022
based on go lang build WEB development framework for go lang beginners .

based on go lang build WEB development framework for go lang beginners .

Oct 31, 2021
burn is a web framework written in golang to develop backend / restapi

burn burn rest api framework About: burn is a web framework written in golang to

Dec 27, 2021
Golang Gin Framework CRUD RestAPI with MySQL for music records.

web-service-gin Golang Gin Framework CRUD RestAPI with MySQL for music records. Installation This application runs on Go version 1.18.1. You can insta

Oct 17, 2022
Golang restAPI crud project with mySql database.
 Golang restAPI crud project with mySql database.

Golang RestAPI using gorilla/mux Golang restAPI crud project with mySql database. Test Api with Thunder Client vs code beautiful Extension. and use Be

Mar 26, 2022
Go-restapi - Go REST API with mysql and docker

GET localhost:8080/polygons localhost:8080/polygons/:name localhost:8080/polygon

Jan 24, 2022
RestAPI Starter Template Using Go (Gin + Gorm)

go-gin-gorm-restapi-template Go (Gin + Gorm) を使用した RestAPI 開発のスターターテンプレート RestAPI Starter Template Using Golang (Gin + Gorm) 主要な依存ライブラリ Gin (Web フレームワ

Apr 3, 2022
7 days golang programs from scratch (web framework Gee, distributed cache GeeCache, object relational mapping ORM framework GeeORM, rpc framework GeeRPC etc) 7天用Go动手写/从零实现系列

7 days golang programs from scratch README 中文版本 7天用Go从零实现系列 7天能写什么呢?类似 gin 的 web 框架?类似 groupcache 的分布式缓存?或者一个简单的 Python 解释器?希望这个仓库能给你答案

Jan 5, 2023
Go (lang) HTTP session authentication

Go Session Authentication See git tags/releases for information about potentially breaking change. This package uses the Gorilla web toolkit's session

Dec 22, 2022
Set is a useful collection but there is no built-in implementation in Go lang.

goset Set is a useful collection but there is no built-in implementation in Go lang. Why? The only one pkg which provides set operations now is golang

Sep 26, 2022