This is a Todo application built using the Fiber web framework in Go. It provides basic CRUD operations for managing todos.
- List all todos
- Create a new todo
- Update an existing todo
- Delete a todo
- Clone the repository:
git clone https://github.com/Jordilla08/tasks.git
- Navigate to the project directory:
cd todo-app
- Install the dependencies:
go get
- Set the environment variable for the port:
or on Windows:
export PORT=3000
set PORT=3000
- Run the application:
go run main.go
GET /todos
- Retrieve all todosPOST /todos
- Create a new todoPUT /todos/:id
- Update an existing todoDELETE /todos/:id
- Delete a todo
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.