Skip to content

customer relationship management (CRM) web application

Notifications You must be signed in to change notification settings

elicatinthebox/CRM-backend-GO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRM Backend

HTTP server with Go

The project represents the backend of a customer relationship management (CRM) web application.

Repository link: https://github.com/elisaromondia/CRM-backend-GO

How to run

Open your favorite Terminal and run these commands:

Launch server:

go run .

Test:

go test

Swagger APIs docs, after launching the server it's possible to read the docs at:

https://elisaromondia.github.io/CRM-backend-GO/

or

http://localhost:3000/

CRUD operations

Handler functionality method path
getCustomers() Getting a list of all customers GET /customers/{id}
getCustomer() Getting data for a single customer GET /customers/
addCustomer() Adding a customer POST /customers/{id}
updateCustomer() Updating a customer's information PUT /customers/{id}
deleteCustomer() Removing a customer DELETE /customers/{id}

Customer structure

field type example
Name string Eric
Role string elite
Email string [email protected]
Phone uint 31463388
Contacted boolean false

Customer ID

  • New IDs are autogenerated using Google uuid
  • One Test ID is stored as test-9651-4a8c-9c9e-03a5849d94dd

Tech

Contributors ✨

Thanks goes to these wonderful people:


Elisa Romondia

💬 📖

About

customer relationship management (CRM) web application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages