Skip to content

📋 GoTodos: GraphQL API with JWT Authentication & Clean Code in Golang Efficient task management using GraphQL, JWT authentication, and clean code architecture in Golang. Organize tasks securely and maintainably.

Notifications You must be signed in to change notification settings

jeevandhakal/gotodos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoTodos: GraphQL API with JWT Authentication & Clean Code Architecture

Welcome to GoTodos, a powerful GraphQL API for efficient task management, featuring JWT authentication and a clean code architecture in Golang.

Features

  • 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.

Getting Started

Prerequisites

Setting Up

  1. Clone this repository to your local machine.
  2. Install required packages:
    go mod tidy
  3. 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"
    

Running the API

  1. Start the server:

    go run server.go
  2. Access the GraphQL Playground:

    Open your browser and navigate to
    http://localhost:8080.

Usage

  1. Explore the GraphQL Playground to interact with the API.
  2. Use GraphQL queries and mutations to manage tasks efficiently.
  3. Authenticate securely using JWT tokens.

Contributing

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.

License

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.

About

📋 GoTodos: GraphQL API with JWT Authentication & Clean Code in Golang Efficient task management using GraphQL, JWT authentication, and clean code architecture in Golang. Organize tasks securely and maintainably.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published