https://github.com/correctroadh/likit
Likit is a backend as a service for like(vote, unlike, count) feature. It is very ease to deploy and use.
https://github.com/correctroadh/likit
baas golang like zeabur
Last synced: 6 months ago
JSON representation
Likit is a backend as a service for like(vote, unlike, count) feature. It is very ease to deploy and use.
- Host: GitHub
- URL: https://github.com/correctroadh/likit
- Owner: CorrectRoadH
- License: other
- Created: 2023-11-30T05:01:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T05:46:52.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T23:41:30.482Z (7 months ago)
- Topics: baas, golang, like, zeabur
- Language: TypeScript
- Homepage:
- Size: 2.89 MB
- Stars: 16
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Likit
[Demo](https://likit.zeabur.app)
English | [简体中文](./README.zh.md)
## What is Likit
Likit is a Backend as a Service for like(vote, unlike, count) feature. It is very ease to deploy and use.The goal of Likit is help your implement like function within 10 minutes.
Likit is suitable for small and middle size application. You can select difference vote implement engine to get difference features and performance.
[Getting Started](./docs/getting-started.md)
| features | Simple Vote Engine | Middle Vote Engine(WIP) |
| -- | -- | -- |
| Vote | ✅ | 🚧 |
| Unvote | ✅ | 🚧 |
| Count | ✅ | 🚧 |
| List the voted users | ✅ | 🚧 |
| Is user Voted | ✅ | 🚧 |
| Vote events | ❌ | 🚧 |
| Message Queue | ❌ | ❌ |
| Rank | 🚧 | 🚧 |
| Requires | redis | redis,postgres |# Roadmap
- [ ] add Rank with limit and Rank from Message Id to Simple Vote Engine
- [ ] Vote to Queue. Async vote
- [ ] add Vote events record to Middle Vote Engine
- [ ] add output message queue to Middle Vote Engine
- [ ] add tag to message
- [ ] Rank by tag# Screenshots

# Deployment
## Zeabur
Deloyment on Zeabur by one click[](https://zeabur.com/templates/KZOLHA?referralCode=CorrectRoadH)
Note: In zeabur the gRPC port is 443.
## Docker Compose
```
wget https://raw.githubusercontent.com/CorrectRoadH/Likit/main/docker-compose.yamldocker compose up -d
```
and visit `http://localhost:7789`
grpc host is `localhost:4778`## K8S
Coming soon# Documentation
[Document](./docs/getting-started.md)## Usage
### gRPC API
[gRPC SDKs in Buf](https://buf.build/likit/likit/sdks/main)### Golang
[Likit Go](https://github.com/CorrectRoadH/likit-go)### Java
[Likit Java](https://github.com/LxiHaaa/Likit-client)### RESTful API
OpenAPI will be supported in the future[RESTful API](./docs/restful.md)
# Who is using Likit