https://github.com/samuel-ricardo/tweets-monitor
A NestJS API to monitoring a database updated with tweets in real time
https://github.com/samuel-ricardo/tweets-monitor
Last synced: 3 months ago
JSON representation
A NestJS API to monitoring a database updated with tweets in real time
- Host: GitHub
- URL: https://github.com/samuel-ricardo/tweets-monitor
- Owner: Samuel-Ricardo
- License: mit
- Created: 2023-07-07T10:55:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-08T15:43:37.000Z (almost 2 years ago)
- Last Synced: 2025-01-14T12:43:46.824Z (5 months ago)
- Language: TypeScript
- Size: 244 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tweets Monitor
🚀 🟥 Discovery 🟥 🚀
Application developed with the purpose of studying the NestJS Ecosystem#
|
Overview |
Technologies |
Project |
Routes |
Run |
Author |#
| :artificial_satellite: About:
This API simulate that receive tweets of a database and monitor this tweets using advanced technologies like queues, redis, scheduler, docker and more.
:building_construction: | Technologies and Concepts Studied:- NestJS
- Sqlite
- Sequelize
- Redis
- MySQL
- Typescript
- JS
- Test
- Jest
- Docker
- eslint
- prettier
- husky
- Bull
- cache-manager
- schedule | crono
- lint-sataged> Among Others...
#
💻 | Application:
This application use a scheduler to get tweets of a sqlite database and detail theys using queues from time to time, keeping it on redis.
> API Example:
```bash
GET http://localhost:3000/tweets
###
POST http://localhost:3000/tweets
Content-Type: application/json{
"text": "Nice Tweet :D"
}```
#
👨💻 | How to use
### Open your Git Terminal and clone this repository
```git
$ git clone "[email protected]:Samuel-Ricardo/tweets-monitor.git"
```### Make Pull
```git
$ git pull "[email protected]:Samuel-Ricardo/tweets-monitor.git"
```
This application use `Docker` so you dont need to install and cofigurate anything other than docker on your machine.
Navigate to project folder ` $ cd ./schedule-queue/ ` and run it using ` docker-compose `
```bash
# After setup docker environment just run this commmand on root project folder:
$ docker-compose up --build # For First Time run this command
$ docker-compose up # to run project
```
```bash
#Apps Running on:
$ API: http://localhost:3000
$ Redis: http://localhost:6379
See more: ./schedule-queue/docker-compose.yaml
```
#
#
:octocat: | Author:
![]()
![]()
![]()
![]()