A chat app build with NodeJs, Typescript and React
Available features and flow:
New users can sign up
Registered users can log in and talk with other users in a chatroom and then log out
Users can post messages as commands into the chatroom with the following format
/stock=stock_code
When a user post a valid command, a decoupled bot will call the Stooq API using the received stock_code to get a CSV with quote informations
The Bot will parse the received CSV file and then post a message to a RabbitMQ queue with the quote info.
Then RabbitMQ will send the message to the subscriber( chat server) and the chat server will build a message and send to the chatroom using the following format: “{stock} quote is ${close value} per share”. This message owner will be
the bot.
Chat messages are limited to the last 50 messages.
Possible future features:
Multiple chat rooms and an option to choose a room or create a new room
On the most recent version, we still need to create the database manually.
I think that this could be simpler, so I'm opening this issue to find a way for TypeORM to do this job by itself on the application startup or the first connection.