Code Monkey home page Code Monkey logo

golang-echo-domain-driven-design's Introduction

Simple RestAPI using GO Echo Framework

simple RestAPI with Go, Echo, Gorm, and MySQL

Requirements

Simple RestAPI is currently extended with the following requirements.
Instructions on how to use them in your own application are linked below.

Requirement Version
Go 1.18.4
Mysql 8.0.30

Installation

Make sure the requirements above already install on your system.
Clone the project to your directory and install the dependencies.

$ git clone https://github.com/jakib01/golang-echo-Domain-Driven-Design.git
$ cd golang-echo-Domain-Driven-Design
$ go mod tidy

Configuration

Copy the .env.example file and rename it to .env
Change the config for your local server

DB_HOST=      localhost
DB_PORT=      3306
DB_USER=      root
DB_PASSWORD=
DB_NAME=      online-store
SERVER_PORT=  8080

Running Server

$ go run main.go

Endpoints

These are the endpoints we will use to create, read, update and delete the course data.

POST product-create → Add new create data
GET product → Retrieves all the create data

golang-echo-domain-driven-design's People

Contributors

jakib01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.