Twitter API with Go ๐
Twitter-like API with Go, using Echo and Go-Micro framework.
Features ๐ชถ
- Authentication
- Sign up
- Sign in
- Follow System
- Follow
- Unfollow
- Public Tweet
- Send Tweet
- Feed
- Private Message
- Send Message
- View Private Message
- User Profile
- View Profile
- Edit Profile
- Search
- Security
- JWT
- Access Token
- Refresh Token
- Rate Limiting
- CORS
- JWT
- DevOps
- Docker
- Kubernetes
- Continuous Integration
- Containerized Development
- Echo Framework for API
- Authentication
- Middleware
- Routing
- Validation
- Go-Micro Framework for Microservices
Tools โ๏ธ
- Dev Watcher => Air
- Linter => GolangCI-Lint
- Code Formatter => Golines
VSCode Extension ๐พ
Project Structure ๐
TODO:
- .vscode => TODO:
- configs => TODO:
- controllers => TODO:
- helpers => TODO:
- models => TODO:
- routes => TODO:
Get Started ๐
- Create a MongoDB database, and name it
twitter
- Copy the example environment variable (
.env.example
) to.env
cp .env.example .env
-
Configure the
.env
file -
Make sure Go (min v1.18) and Air installed.
-
Run the Air ๐ซ
air