RumahResep Project

Go Reference Go.Dev reference Go.Dev reference Go Reference Go Reference

Table of Content

Description

RumahResep merupakan sebuah aplikasi penjualan berbagai macam resep berserta bahan yang menjadi satu. Disini Customer dapat membeli resep dan bahan sekaligus sehingga customer tidak perlu lagi mencari bahan dalam membuat suatu resep. Pada aplikasi ini resep dan bahan ditambahkan oleh penjual itu sendiri yang bertindak sebagai Admin. Untuk supply bahan untuk memenuhi suatu resep, Admin berkerja sama dengan beberapa supplier yang disini disebut sebagai Seller. Seller disini dapat melakukan restock bahan sesuai resep yang nantinya akan dikirim kepada Customer yang melakukan pembelian.

Database Schema

ERD

Testing Coverage

Implement Unit Testing average above 85%

TESTING

Feature

List of overall feature in this Project (To get more details see the API Documentation below)

No. Feature Role Keterangan
1. Register Admin, Seller, Customer Authentication process
2. Login Admin, Seller, Customer Authentication process
3. Read Recipe Admin, Seller, Customer Get all recipe and get details of recipe
4. CUD Recipe Admin Create, Update, and Delete Recipe in system
4. CRUD Ingredient Admin Create, Read, Update, and Delete Ingredient of the recipe in system
5. CRUD Category Admin Create, Read, Update, and Delete Category in system
6. Cart Customer Add recipe to Cart, see Recipe list on Cart, and get details of Cart
7. Checkout Customer Checkout cart (list recipe item) to transaction and make payment
8. Payment Customer Make payment and get status payment of transaction
9. Restock Seller Restock the ingredient of the recipe

How to Use

  • Install Go and Database MySQL/XAMPP
  • Clone this repository in your $PATH:
$ git clone https://github.com/ridzqihammam17/RumahResep-Project.git
  • Create file .env based on this project sample-env
  • Don't forget to create database name as you want in your MySQL
  • Run program with command
go run main.go

Endpoints

Read the API documentation here API Endpoint Documentation (Swagger)

Credits