Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flazefy/culineira-backend
created using golang gin
https://github.com/flazefy/culineira-backend
gin golang postgresql
Last synced: 2 days ago
JSON representation
created using golang gin
- Host: GitHub
- URL: https://github.com/flazefy/culineira-backend
- Owner: FlazeFy
- Created: 2023-03-27T10:28:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-31T04:21:01.000Z (over 1 year ago)
- Last Synced: 2024-11-06T06:13:31.537Z (about 2 months ago)
- Topics: gin, golang, postgresql
- Language: Go
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Culineira-Backend
created using golang gin
made by Leonardho R Sitanggang# How to run this app
> go run main.go# Config
> Collection of variable and configuration that will be used in this app# Helpers
> Set of function that will be use to generate, validation, or manipulating data# Middlewares
> For data authentication and authorization, so users access can be intercepted before they can make the request without login# Migrations
> Database structure (DDL)# Modules
> In this app, modules is a collection of unit of code that will be separated based on its functionality
Example :
- Recipe, Steps, and Ingredient will be grouping into one modules of recipes
- Like and Comment will be grouping into one modules of contents# Handlers
> Processing incoming HTTP requests from the router. One handler for one API endpoint. In this function, data will be transferred to repositories
so it can be manipulated into the database# Models
> Set of data and its type before it can be processed to or from the database# Repositories
> The function that contains logic or query for a database such as Create, Read, Update, and Delete. In this function, it will receive data from
handler and send it to the database