Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datawookie/consumer-affairs-api
https://github.com/datawookie/consumer-affairs-api
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/datawookie/consumer-affairs-api
- Owner: datawookie
- Created: 2019-04-30T14:40:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T03:59:43.000Z (about 1 year ago)
- Last Synced: 2024-11-12T04:02:53.171Z (2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Using Django, create a simple API that allows users to post and retrieve their reviews.
Acceptance Criteria
The completed assignment must be hosted in a git repository
The repository must include commit history (e.g., more than one commit)
Users are able to submit reviews to the API
Users are able to retrieve reviews that they submitted
Users cannot see reviews submitted by other users
Use of the API requires a unique auth token for each user
Submitted reviews must include, at least, the following attributes:
Rating - must be between 1 - 5
Title - no more than 64 chars
Summary - no more than 10k chars
IP Address - IP of the review submitter
Submission date - the date the review was submitted
Company - information about the company for which the review was submitted, can be simple text (e.g., name, company id, etc.) or a separate model altogether
Reviewer Metadata - information about the reviewer, can be simple text (e.g., name, email, reviewer id, etc.) or a separate model altogether
Unit tests must be included providing 100% code coverage
Include instructions on local setup details for both “app setup” and “data setup”
Document the APIOptional:
Provide an authenticated admin view that allows me to view review submissions
Organize the schema and data models in whatever manner you think makes the most sense and feel free to add any additional style and flair to the project that you'd like.