/food-donation-go

Primary LanguageJavaScriptMIT LicenseMIT

food-donation-go

Go React JWT Authentication

A simple JWT authentication template for building Go server backend with Fiber, React Vite frontend, and MySQL database.

Overview

This project serves as a learning template for implementing JWT authentication in a Go server using the Fiber framework, handling authentication in React Vite frontend, and integrating with a MySQL database.

Features

  • Go Server (Backend):

    • Built with Fiber - Express-inspired web framework for Go.
    • JWT authentication for secure user sessions.
    • Storing tokens in cookies for improved security.
  • React Vite (Frontend):

    • Developed with Vite - A fast frontend build tool.
    • User authentication components for login, registration, and logout.
    • Seamless integration with the Go backend for handling authentication.
  • MySQL Database:

    • User data storage in a MySQL database.
    • Secure password storage using modern hashing techniques.