- Using GIN has server and main tool
- Making a basic auth process from the JSON requests
- Creating cookies http/only for security
- Keeping the data on a postgres online database
- Learning and listening to some music while at it
- And at last but not least having some fun :}
- GIN: deal with requests and responses, set cookies and the JWT token
- POST /v1/register --> github.com/zennon-sml/GJR2/controllers.Register (3 handlers)
- POST /v1/login --> github.com/zennon-sml/GJR2/controllers.Login (3 handlers)
- POST /v1/logout --> github.com/zennon-sml/GJR2/controllers.Logout (3 handlers)
- GET /v1/userauth --> github.com/zennon-sml/GJR2/controllers.UserAuth (3 handlers)
- POSTGRES: database hosted on ElephantSQL and also seted up a local postgres container
- GORM: object relational maping for the database
- godotenv: way to get enviroment variables from .env
- JWT: go package to make a json web token
- BCRYPT: password encrypiting and decripter
- POSTMAN: use for testing the back end with requests