Skip to content

LucySargent/crowdfunding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BEEBAY!

Beebay is a crowdfunding website connecting people who have potential beehive locations, beekeepers and community sponsors to increase the number of bees in Queensland.

Github repo: https://github.com/LucySargent/crowdfunding/

Deployed app: https://desolate-waters-38107.herokuapp.com/

Admin site can be accessed by superuser: https://desolate-waters-38107.herokuapp.com/admin/

Trello: https://trello.com/b/8VDktVuw/beebay

MVP features:

  1. Ability to create a user account
  2. User can create a project to be funded
  3. User can “pledge” to a project
  4. Suitable update/delete functionality
  5. Suitable permissions
  6. Return the relevant status codes for both successful and unsuccessful requests to the API
  7. Handle failed requests gracefully
  8. Use Token Authentication

Added features:

  1. Ability for a user to 'beefriend' a project
  2. 'Suburb' choice list added to project model
  3. 'Number of beehives' field added to project model
  4. 'Pledge goal' property added to project model. Calculates the funding goal based on number of beehives * the cost of one beehive ($300).
  5. 'Status' property added to project model. Shows how much of the pledge goal has been reached. When target has been reached, status shows as "closed".

Added permissions Added permissions to get/post/put/delete methods. This is work in progress - some are not logical and need changing!

image

image

image

image

Get all projects: image

Post a project: https://desolate-waters-38107.herokuapp.com/projects/

Request body to create a new project:

{
  "title": "This field is required.",
  "description": "This field is required.",
  "suburbs": "This field is required.",
  "beehives": "This field is required.", 
  "image": "This field is required.",
  "is_open": "This field is required.",
  "date_created": "This field is required."
}

image

Token authentication: image

Register a new user: https://desolate-waters-38107.herokuapp.com/users/

{
  "username": "This field is required.",
  "email": "This field is required.",
  "password": "This field is required."
}

Issue - password not being encrypted.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages