Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otaaaviio/redis-typescript
Redis implementation with typescript
https://github.com/otaaaviio/redis-typescript
Last synced: 21 days ago
JSON representation
Redis implementation with typescript
- Host: GitHub
- URL: https://github.com/otaaaviio/redis-typescript
- Owner: otaaaviio
- Created: 2024-07-10T19:19:12.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T02:37:44.000Z (4 months ago)
- Last Synced: 2024-07-16T05:47:09.160Z (4 months ago)
- Language: TypeScript
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redis with TypeScript
This is a redis implementation in TypeScript to [CodeCrafters Challenge](https://app.codecrafters.io/courses/redis).
## Summary
- [System Requirements](#system-requirements)
- [Running the server](#running-the-server)
- [Running commands](#running-commands)
- [Current Commands](#current-commands)
- [Author](#author)## System Requirements
- [node](https://nodejs.org/en/download/package-manager)
- [bun](https://bun.sh/docs/installation)
- [redis-cli](https://redis.io/docs/latest/operate/rs/references/cli-utilities/redis-cli/) (optional)## Running the server
```bash
./spawn_redis_server.sh --port --replicaof " "
```obs: args are optional
## Running commands
```
redis-cli <...args>
```## Current Commands
| Command | Arguments | Description |
|---------|---------------|-------------------------------------------------|
| ping | - | Responds with "PONG" to check connectivity. |
| echo | message | Echoes the provided message back to the client. |
| set | key
value | Set the string value of a key |
| get | key | Get a string from a key |
| info | server | Get info about the current server |## Author
- Otávio Gonçalves - [email protected]