Skip to content

Real Time Chat System using Go, PostgreSQL, and Implemented top Authentication

Notifications You must be signed in to change notification settings

cardoso6208/realtime_chat_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  1. Create an .env file and add the following variables.

DB_HOST=127.0.0.1 DB_DRIVER=mysql DB_USER=root DB_PASSWORD= DB_NAME=real-chat-backend-db DB_PORT=3306 TOKEN_HOUR_LIFESPAN=1 API_SECRET=My_API_Secret_Key

  1. Run the MySQL server
Can be used the Xampp, navicat or another things

  1. In the root directory, please run
go mod init and go mod tidy
  1. Run
go run main.go

About

Real Time Chat System using Go, PostgreSQL, and Implemented top Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages