Categorygithub.com/prondos/axdb
repository
0.0.0-20231017072842-8a0c0f95e537
Repository: https://github.com/prondos/axdb.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

axdb

This project was created to train myself in Go.

Starting the server

make run

Usage examples

REST API

  1. PUT data

    curl -H 'Content-Type: application/json' -X PUT -d '{"value":"example value"}' http://localhost:8080/items/example
    
  2. GET data

    curl -H 'Content-Type: application/json' -X GET http://localhost:8080/items/example
    
  3. GET data index

    curl -H 'Content-Type: application/json' -X GET http://localhost:8080/items