Rails.application.routes.draw do
  root to: "static#home"
  #static root made for testing purposes
  resources :teams, only: [:index, :destroy, :create, :update]
  resources :sessions, only: [:create]
  resources :users, only: [:create]
  delete :logout, to: "sessions#logout"
  get :logged_in, to: "sessions#logged_in"
  # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end
