Skip to content

tiyd-python-2015-05/urly-bird-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

URLy Bird API

Description

Add a REST-based API to URLy Bird.

Objectives

Learning Objectives

After completing this assignment, you should be able to:

  • Design a simple REST API.
  • Implement authentication and authorization for an API in Django.

Details

Deliverables

Instead of forking this repo, use your previous URLy Bird project and push there.

Normal Mode

Add an API under the URL /api to URLy Bird.

This API should be read-only unless the user is authenticated. If authenticated, the user can add new bookmarks and edit and delete their own bookmarks.

The API should allow for:

  • Viewing, editing, and deleting bookmarks
  • Seeing the click stats for a bookmark
  • Adding a click to a bookmark
  • Allowing a user to see their overall stats (This is a replication of the overall stats page from the original assignment.)

Hard Mode

For hard mode, do everything shown above, plus any of the following features.

  • Allow new user creation through the API.
  • Allow token-based authentication.
  • Support topical lists or tags from the original assignment through the API.
  • Add functional tests for your API.

About

Homework for W8D2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published