Skip to content

benlloydjones/WDI-project-3

Repository files navigation

Project 3 Starter Code

When using this starter code, do NOT create an API constant. This will cause issues when deploying to Heroku.

Instead, simply prefix your AJAX requests with /api.

For example

$http.get('/api/birds')
  .then(res => console.log(res));

Or with ngResource:

$resource('/api/birds/:id', { id: '@id' }, {
  update: { method: 'PUT' }
});

Team Members

Andy Savva Ben

About

GA WDI course project 3 repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •