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 🚗
- Clone this repository:
git clone https://github.com/abdullahnettoor/admin-panel-jwt
- Install dependencies:
go mod tidy
- Configure your database uri and secret key in
.env
. - 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! 😄🚀