Skip to content

Web forum with posting, post categorization, commenting, liking/disliking, filtering and image upload (JPEG, SVG, PNG, GIF) functionality. Used SQLite database, implemented authentication through Google and GitHub. Used logging functionality for monitoring and alerting. For security used HTTPS, rate limiting and encryption.

Notifications You must be signed in to change notification settings

EgonSaks/go-forum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forum

forum

To run the program...

Create dev.env to config folder in configs folder.

Add there your google and github data as follows without "{}":

// Client ID
GOOGLE_KEY={YOUR CLIENT ID}

// Client secret
GOOGLE_SECRET={YOUR CLIENT ID}

// Client ID
GITHUB_KEY={YOUR CLIENT ID}

// Client secret
GITHUB_SECRET={YOUR CLIENT ID}

Then:

go run cmd/web/* or sh dockerRun.sh

GO_ENV=prod go run main.go

or  

export GO_ENV=prod
go run main.go
GO_ENV=dev go run main.go

or

export GO_ENV=dev
go run main.go
GO_ENV=test go run main.go

or

export GO_ENV=test
go run main.go

About

Web forum with posting, post categorization, commenting, liking/disliking, filtering and image upload (JPEG, SVG, PNG, GIF) functionality. Used SQLite database, implemented authentication through Google and GitHub. Used logging functionality for monitoring and alerting. For security used HTTPS, rate limiting and encryption.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published