Welcome to GoTodos, a powerful GraphQL API for efficient task management, featuring JWT authentication and a clean code architecture in Golang.
- GraphQL API: Seamlessly manage tasks through a GraphQL interface.
- JWT Authentication: Securely authenticate users using JWT tokens.
- Clean Code Architecture: Follows a clean and maintainable code structure.
- Efficient Task Handling: Easily organize tasks using GraphQL queries and mutations.
- Install Golang: https://go.dev/dl/
- Install PostgreSQL: https://www.postgresql.org/download/
- Clone this repository to your local machine.
- Install required packages:
go mod tidy
- Set up your PostgreSQL database and configure environment variables:
export db_user="YOUR_DB_USERNAME" export db_pass="USER_PASSWORD" export db_name="DATABASE_NAME" export db_host="localhost"
-
Start the server:
go run server.go
-
Access the GraphQL Playground:
Open your browser and navigate to
http://localhost:8080.
- Explore the GraphQL Playground to interact with the API.
- Use GraphQL queries and mutations to manage tasks efficiently.
- Authenticate securely using JWT tokens.
Contributions are welcome! If you want to enhance features, fix bugs, or improve documentation, please fork this repository, create a new branch, and submit a pull request. For significant changes, kindly open an issue first to discuss the proposed changes.
This project is licensed under the MIT License.
Enhance your task management experience with GoTodos. Explore the power of GraphQL, secure authentication, and clean code architecture in Golang.