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.
- 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.
- Clone the repository:
git clone https://github.com/Rish-it/MINI_Gofr.git cd MINI_Gofr
- **Initialize the Go module:
go mod init github.com/Rish-it/MINI_Gofr
- **Run the application:
go run main.go
- **Access the API at http://localhost:8080/api
- **List Users:
HTTP: GET /api/users
- **Get User by ID:
HTTP: GET /api/user/:id Retrieves user information based on the provided user ID.
- **Create User: HTTP: POST /api/user
** JSON { "name": "Juet guna", "email": "[email protected]" }
![Screenshot 2023-12-18 at 12 53 30 AM](https://private-user-images.githubusercontent.com/104666906/291102586-0211dbf7-dc7a-4d8c-af44-857b5103cdb0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNDIyOTIsIm5iZiI6MTcyNDE0MTk5MiwicGF0aCI6Ii8xMDQ2NjY5MDYvMjkxMTAyNTg2LTAyMTFkYmY3LWRjN2EtNGQ4Yy1hZjQ0LTg1N2I1MTAzY2RiMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwODE5NTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YmM5YTU0YzVjZTM1NjRkZTBkOTViOWRhYjlhNTYyZDcwZDg0MTgxYTA1YmI2OWI4MjE1YmZlNTgwZWM5ZGYwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Z6EPMl4_fiwjylk0q_4CRqeeW63vjgKRvEmW928-Ayc)
GoFrame: A lightweight and modular Go framework. (https://goframe.org/)
Documentation: (https://goframe.org/pages/viewpage.action?pageId=11144195)