Skip to content

AlpTalhaYazar/Go-Fiber-CRM-Basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Fiber-CRM-Basic

This is a basic CRM system API built with Go-Fiber


Models

Lead

type Lead struct {
    gorm.Model
	Name    string `json:"name"`
	Company string `json:"company"`
	Email   string `json:"email"`
	Phone   int    `json:"phone"`
}

Endpoints


GET

POST PUT DELETE

"api/v1/lead"
 * Get all leads

"api/v1/lead"
 * Create a lead
"api/v1/lead/:id"
 * Update a lead
"api/v1/lead/:id"
 * Delete a lead

"api/v1/lead:id"
 * Get a lead by id

About

Basic CRM API written in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages