https://github.com/kwa0x2/swiftchat-backend
SwiftChat Backend is built with the Go Gin framework. It uses PostgreSQL for database management, JWT for authentication, Redis for sessions, and S3 for profile pictures. Real-time communication is handled by Socket.IO, and the entire application is containerized with Docker.
https://github.com/kwa0x2/swiftchat-backend
amazon-s3 amazon-web-services backend docker docker-compose dockerfile gin-framework gin-gonic go golang jwt-authentication realtime-chat redis session-cookie socket-io
Last synced: 5 months ago
JSON representation
SwiftChat Backend is built with the Go Gin framework. It uses PostgreSQL for database management, JWT for authentication, Redis for sessions, and S3 for profile pictures. Real-time communication is handled by Socket.IO, and the entire application is containerized with Docker.
- Host: GitHub
- URL: https://github.com/kwa0x2/swiftchat-backend
- Owner: kwa0x2
- Created: 2024-05-09T00:22:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-18T13:28:45.000Z (7 months ago)
- Last Synced: 2025-04-03T23:51:11.884Z (6 months ago)
- Topics: amazon-s3, amazon-web-services, backend, docker, docker-compose, dockerfile, gin-framework, gin-gonic, go, golang, jwt-authentication, realtime-chat, redis, session-cookie, socket-io
- Language: Go
- Homepage: https://chat.nettasec.com
- Size: 226 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.Docker.md
Awesome Lists containing this project
README
### Building and running your application
When you're ready, start your application by running:
`docker compose up --build`.Your application will be available at http://localhost:9000.
### Deploying your application to the cloud
First, build your image, e.g.: `docker build -t myapp .`.
If your cloud uses a different CPU architecture than your development
machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
you'll want to build the image for that platform, e.g.:
`docker build --platform=linux/amd64 -t myapp .`.Then, push it to your registry, e.g. `docker push myregistry.com/myapp`.
Consult Docker's [getting started](https://docs.docker.com/go/get-started-sharing/)
docs for more detail on building and pushing.### References
* [Docker's Go guide](https://docs.docker.com/language/golang/)