Giter Site home page Giter Site logo

brondol / e-wallet-api Goto Github PK

View Code? Open in Web Editor NEW
27.0 1.0 1.0 2.33 MB

This is a RESTful API of E-Wallet project made with golang.

Dockerfile 0.36% Makefile 0.58% Go 94.38% CSS 0.23% HTML 3.88% JavaScript 0.57%
golang gorm mockery swagger testify

e-wallet-api's Introduction

E-Wallet API

Description

This is a RESTful API of E-Wallet project. This project was built with golang, postgreSQL, and JWT authentication and implement clean architecture.

Features

  1. General Features
  2. Authentication and Authorization
  3. List of Transactions
  4. Top Up
  5. Transfer
  6. User Details
  7. Database SQL
  8. Unit Testing
  9. API documentation

Database Design

e-wallet-ERD

How To Run This Project

Make Sure you have installed postgreSQL, Docker, and Make

Run the Applications

Here is the steps to run it with docker

#move to directory
$ cd workspace
# Clone the project
$ git clone https://git.garena.com/sea-labs-id/batch-02/aulia-nabil/assignment-05-golang-backend.git
#move to project
$ cd assignment-05-golang-backend
# Create the database and running the seeder
$ make db
# setup .env file
$ cp env.example .env
# Build the docker image first
$ make image
# Run the application
$ make run
# check if the containers are running
$ docker ps
# Stop
$ make stop

Run Application For Development

$ make dev

Run the Testing

$ make test

User Credentials

[
    {
        "email": "[email protected]",
        "password": "12345",
    },
    {
        "email": "[email protected]",
        "password": "12345",
    },
    {
        "email": "[email protected]",
        "password": "12345",
    },
    {
        "email": "[email protected]",
        "password": "12345",
    },
    {
        "email": "[email protected]",
        "password": "12345",
    },
]

Tools Used:

In this project, I use some tools listed below. But you can use any simmilar library that have the same purposes. But, well, different library will have different implementation type.

e-wallet-api's People

Contributors

brondol avatar nabilsea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.