MINI_Gofr

所属分类:微服务
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-12-17 20:43:49
上 传 者sh-1993
说明:  Mini-Gofr CRM项目是一个基于微服务的客户关系管理(CRM)系统,使用Go编程语言和GoFrame框架开发。
(The Mini Gofr CRM project is a microservice-based Customer Relationship Management (CRM) system developed using the Go programming language and the GoFrame framework.)

# MINI Gofr CRM Mini Gofr CRM is a lightweight Customer Relationship Management (CRM) microservice built using the GoFrame framework. This project provides a simple API for managing user information, including the ability to create users, retrieve user details, and list all users. ## Features - **User Management:** Create, retrieve, and list user information. - **Modular Structure:** Codebase organized into packages for better maintainability. - **In-Memory Data Storage:** Users are stored in an in-memory map for simplicity. ## Prerequisites - [Go](https://golang.org/dl/) installed on your machine. - [GoFrame](https://goframe.org/pages/download) installed. ## Getting Started 1. **Clone the repository:** ```bash git clone https://github.com/Rish-it/MINI_Gofr.git cd MINI_Gofr 2. **Initialize the Go module: ```bash go mod init github.com/Rish-it/MINI_Gofr 3. **Run the application: ```bash go run main.go 4. **Access the API at http://localhost:8080/api ## API Endpoints 1. **List Users: HTTP: GET /api/users 2. **Get User by ID: HTTP: GET /api/user/:id Retrieves user information based on the provided user ID. 3. **Create User: HTTP: POST /api/user ## Creates a new user. Requires a JSON payload with name and email fields. ** JSON { "name": "Juet guna", "email": "juet.guna@me.com" } ## Deployment and Testing Screenshot 2023-12-18 at 12 53 30AM --------------------------------------------------------------------------------------------------------------- ![image](https://github.com/Rish-it/MINI_Gofr/assets/104666906/a4a8a3c4-bb53-444f-a23e-79c39d3f4072) ## Acknowledgments GoFrame: A lightweight and modular Go framework. (https://goframe.org/) Documentation: (https://goframe.org/pages/viewpage.action?pageId=11144195)

近期下载者

相关文件


收藏者