https://github.com/thandon263/chadbot_comp
Chat application built using Action cable rails, Websocket module for full duplex net-tcp connections CLIENT and SERVER.
https://github.com/thandon263/chadbot_comp
Last synced: 3 months ago
JSON representation
Chat application built using Action cable rails, Websocket module for full duplex net-tcp connections CLIENT and SERVER.
- Host: GitHub
- URL: https://github.com/thandon263/chadbot_comp
- Owner: thandon263
- Created: 2016-10-11T04:14:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-11T04:25:56.000Z (over 8 years ago)
- Last Synced: 2025-01-06T01:10:27.369Z (5 months ago)
- Language: Ruby
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chad the Chat application
### To run the application
- ``` Git git clone [email protected]:thandon263/chadbot_comp.git ```
- ``` Git bundle install ```
- ``` Git rake db:migrate or bundle exec rake db:migrate ```* It will depend on the version of rails you are using
``` Ruby
def __adt__
"This is a test!"
endputs __adt__
ActiveSupport.on_load(:action_controller) do
wrap_parameters format: [:json]
end# To enable root element in JSON for ActiveRecord objects.
# ActiveSupport.on_load(:active_record) do
# self.include_root_in_json = true
# end
```## Our models for the app
- A chat room will have a topic
- and it will have many messages.
- A message will have content, and it will belong to a user and belong to a chatroom.
- A user will have a username, and will have many messages.## TO get started:
1. Things you may want to cover:
* Ruby version
* System dependencies
* Configuration
* Database creation
* Database initialization
* How to run the test suite
* Services (job queues, cache servers, search engines, etc.)
* Deployment instructions
* ...