Socket
Socket
Sign inDemoInstall

github.com/abdullahnettoor/admin-panel-jwt

Package Overview
Dependencies
38
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/abdullahnettoor/admin-panel-jwt


Version published

Readme

Source

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.

Happy coding! 😄🚀

FAQs

Last updated on 10 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc