bundle install => will install your dependencies
rake db:create => create your development/test databases
rake db:migrate => create all the tables in your database
rake db:seed => populate the database with data
bundle install => will install any new dependencies added
rake db:reset => will delete db, create db, migrate, and add new seed data
routes:
indexwill return all of the resource (ie all projects)showwill return one of the specified resource (ie one project)createwill try to create a new resource (ie create a new project)updatewill try to update an existing resource (ie update a project)destroywill try to delete an existing resource (ie delete a project)
GET /api/v1/projects/:id
- This means send a
GETrequest to/api/v1/projects/:idwhere:idis the id of the resource.
rake routes | grep project => Will show you all the api endpoints for projects
rake routes | grep user => will show you all the api endpoints for users
rake routes | grep tag => will show you all the api endpoints for tags
rake routes | grep message => will show you all the api endpoints for messages
rake routes | grep vote => will show you all the api endpoints for votes