command
module
Version:
v0.0.0-...-0d863c4
Opens a new window with list of versions in this module.
Published: Jun 22, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
API Go
API in Go with JWT and MySql
Available endpoints:
-
/api/v1/users
- /register (POST): create a new User
- /login (GET): get a JWT user token
-
/api/v1/tasks
- / (POST): create a new task (must be logged)
- /{id} (GET): get a task by taskID (must be logged)
To run this project (setup the db with docker compose up
):
make run
To test this project:
make test
Build by 🛠️
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.