Categorygithub.com/Ajaax2/feature-toggle-api
module
0.0.0-20240330205710-6492ada7b662
Repository: https://github.com/ajaax2/feature-toggle-api.git
Documentation: pkg.go.dev

# README

feature-toggle-api

Description

This is a RESTful API for managing feature toggles in an application.

Installation

  1. Clone the repository: git clone https://github.com/your-username/feature-toggle-api.git
  2. Navigate to the project directory: cd feature-toggle-api
  3. Install the dependencies: go mod tidy

Usage

  1. Start the server: go run main.go
  2. Access the API at: http://localhost:3000

API Endpoints

  • GET /feature-toggles: Get all feature toggles
  • GET /feature-toggles/:id: Get a specific feature toggle by ID
  • POST /feature-toggles: Create a new feature toggle
  • PUT /feature-toggles/:id: Update an existing feature toggle
  • DELETE /feature-toggles/:id: Delete a feature toggle

Contributing

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/my-new-feature
  3. Make your changes and commit them: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Submit a pull request

License

This project is licensed under the MIT License. See the LICENSE file for more details.

# Packages

No description provided by the author
Package docs Code generated by swaggo/swag.