Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdullahnettoor/admin-panel-jwt

This a web application built using Go, Gin, Gorm, Postgres, JWT, and Bcrypt. It provides user authentication, a home page, and an admin panel for managing users.
https://github.com/abdullahnettoor/admin-panel-jwt

bcrypt gin-gonic gorm html jwt-authentication postgres

Last synced: about 1 month ago
JSON representation

This a web application built using Go, Gin, Gorm, Postgres, JWT, and Bcrypt. It provides user authentication, a home page, and an admin panel for managing users.

Awesome Lists containing this project

README

        

# My Awesome Web App 🚀

Welcome to My Awesome Web App project! This web application is built using Go, Gin, Gorm, Postgres, JWT, and Bcrypt. It provides user authentication, a home page, and an admin panel for managing users.

## Features 🌟

- **User Authentication**: Allow users to sign up and log in securely.
- **User Home Page**: Provide a home page for users.
- **User Redirection**: Redirect to home or admin panel based on user.
- **Admin Panel**: Admins can access a dedicated panel to manage users.
- **CRUD Operations**: Admins can perform CRUD (Create, Read, Update, Delete) operations on user accounts.
- **Data Security**: Passwords are securely hashed using Bcrypt, and authentication is handled via JWT tokens.
- **Database Management**: Utilize Gorm and Postgres for efficient database management.
- **Easy Web Development**: Built on the Gin web framework, making development a breeze.

## Technologies Used 🛠️

- Go (Golang)
- Gin - Web Framework
- Gorm - ORM (Object-Relational Mapping)
- Postgres - Database
- JWT - Authentication
- Bcrypt - Password Hashing

## Getting Started 🚗

1. Clone this repository: `git clone https://github.com/abdullahnettoor/admin-panel-jwt`
2. Install dependencies: `go mod tidy`
3. Configure your database uri and secret key in `.env`.
4. Run the app: `go run main.go`

## Usage 📝

- Visit the home page and sign up or log in.
- Admins can access the admin panel to manage users.
- Securely hash passwords and authenticate users using JWT.

## Acknowledgments 🙏

- Thanks to the amazing Go community.
- Emoji support from [Emojipedia](https://emojipedia.org).

Happy coding! 😄🚀