git clone [email protected]:cakejelly/ruby-platform-implementation.git
bundle install
bundle exec rake db:create db:migrate
bundle exec rails s
Run rake routes
to see a list of all endpoints
POST /announcements(.json) # Sends announcement
POST /conversations(.json) # Creates a conversation
GET /conversations/:id(.json) # Retrieves a conversation
PATCH /conversations/:id(.json) # Edits a conversation
POST /conversations/:id/messages(.json) # Send message to conversation
GET /users/:user_id/blocks(.json) # Retrieve a users blocklist
POST /users/:user_id/blocks(.json) # Adds a user to another users blocklist
DELETE /users/:user_id/blocks/:blocked_id(.json) # Removes a user from another users blocklist