Simple web-application with Sign-up, Sign In implementation using session, cookie based authentication built on Go(Golang).
- Setup golang on local (https://golang.org/doc/install)
- Once setup, clone the repo
- Go to clone directory
- Install 3rd party dependencies
go get golang.org/x/crypto/bcryptgo get github.com/jinzhu/gorm/dialects/postgresgo get github.com/jinzhu/gormgo get github.com/satori/go.uuid
- Run
go build. This will generate an executable file with namego-for-it. - Run the executable
- Linux/Mac
./go-for-it - Windows
cmd /K "go-for-it.exe"
- Linux/Mac
- PostgreSQL setup on the machine (https://www.postgresql.org/download/)
- Sign up page ( with basic server-side validations )
- Sign in page ( with basic server-side validations )
- Logout implementation
- Barebone home page ( to be worked on the next release )
- Cookie & session-based authentication
- Database integration using
Gorm ORMwith Postgres ( can be used with any other vendor ) - Storage of user and session details in the database and its retrieval at time of login
- Password encryption and verification using
bcrypt
Screenshots


