Coder Social home page Coder Social logo

rish-it / mini_gofr Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8 KB

The Mini Gofr CRM project is a microservice-based Customer Relationship Management (CRM) system developed using the Go programming language and the GoFrame framework.

Go 100.00%
goframe postman-api go-environment

mini_gofr's Introduction

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 installed on your machine.
  • GoFrame installed.

Getting Started

  1. Clone the repository:
    git clone https://github.com/Rish-it/MINI_Gofr.git
    cd MINI_Gofr
    
    
  2. **Initialize the Go module:
    go mod init github.com/Rish-it/MINI_Gofr
    
    
  3. **Run the application:
    go run main.go
    
    
  4. **Access the API at http://localhost:8080/api

API Endpoints

  1. **List Users:

HTTP: GET /api/users

  1. **Get User by ID:

HTTP: GET /api/user/:id Retrieves user information based on the provided user ID.

  1. **Create User: HTTP: POST /api/user

Creates a new user. Requires a JSON payload with name and email fields.

** JSON { "name": "Juet guna", "email": "[email protected]" }

Deployment and Testing

Screenshot 2023-12-18 at 12 53 30 AM

image

Acknowledgments

GoFrame: A lightweight and modular Go framework. (https://goframe.org/)

Documentation: (https://goframe.org/pages/viewpage.action?pageId=11144195)

mini_gofr's People

Contributors

rish-it avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.