Giter Site home page Giter Site logo

mypoints-rest-api's Introduction

mypoints-rest-api

CI

Backend application for MyPoints WebApp - Final Project Alterra Academy (MBKM)

PTT Project

MyPointsPPT

APIs Documentation

MyPoints REST APIs

API Server tech-stack:

  • Server code: go1.17
  • REST Server: fiber v2
  • Database: PostgreSQL, MongoDB
  • ORM: gorm
  • Nginx & Cloudflare

Third-party API used:

CI/CD

Other technology

  • air - ☁️ Live reload for Go apps.
  • xendit - Go library from xendit
  • uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
  • bcrypt - Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
  • validator v10 - Go Struct and Field validation.
  • swaggo - Automatically generate RESTful API documentation with Swagger 2.0 for Go.
  • fiber-swagger - Fiber middleware to automatically generate RESTful API documentation with Swagger 2.0.
  • viper - Go configuration with fangs.
  • mockery - A mock code autogenerator for Golang.
  • testify - A toolkit with common assertions and mocks that plays nicely with the standard library.

Architecture

Clean Architecture - Uncle Bob

|-- configs
|-- infrastructures
|   |-- db
|-- internal
|   |-- middleware
|   |-- routes
|   |-- utils
|   |-- web
|-- src
|   |-- [module_name]
|       |-- dto
|       |-- entities
|       |-- handlers
|       |-- repositories
|       |-- router
|       |-- services

The diagram:

golang clean architecture

ERD

ERD

mypoints-rest-api's People

Contributors

deepsourcebot avatar mohammadwawan avatar yossdev avatar

Watchers

 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.