Skip to content

User System created with Golang. It's really fun with Golang. Don't believe me? Go ahead & experience it by yourself!! πŸ™‹πŸ™‡πŸ™Œ

Notifications You must be signed in to change notification settings

kkrish007/Go-User-System

Β 
Β 

Repository files navigation

Golang User System

User System created with Golang. It's really fun with Golang. Don't believe me? Go ahead & use it by yourself!! πŸ‘»πŸ€πŸ‘€

Updated version

Visit this for single-page user-system with React & Golang!!

Requirements

  1. Make sure you keep this project inside src/ of your Golang project folder.
  2. Following packages should be installed.
    1. httprouter
    2. negroni
    3. checkmail
    4. MySQL driver
    5. bcrypt
    6. sessions
    7. godotenv

Usage

  1. First install all the dependencies.
npm install 
OR 
yarn
  1. Open PHPMyAdmin, create a db & import db.sql.
  2. Create a .env file & insert the following code. Repalce values with yours.
PORT=PORT (default= 1100)  [STRING]
DB_USER=DB USER [STRING]
DB_PASSWORD=DB PASSWORD [STRING]
DB=DB YOU JUST CREATED [STRING]
  1. My root folder name is Go-User-System, if yours is different then go ahead & change it as it used for imports. It can be done easily by searching the whole project.

  2. Now run it.

    go run main.go
  3. Run the app in browser.

    localhost:[PORT] PORT=1110 (By default)
  4. Enjoy!!

About

User System created with Golang. It's really fun with Golang. Don't believe me? Go ahead & experience it by yourself!! πŸ™‹πŸ™‡πŸ™Œ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 56.4%
  • HTML 24.7%
  • JavaScript 16.4%
  • CSS 2.5%