Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Inkvestor — Crowdfunding for Authours

A minimal crowdfunding frontend built with React that talks to a Django REST Framework API.

Checklist:

1:

2:

  • Have a cool name, bonus points if it includes a pun and/or missing vowels. See https://namelix.com/ for inspiration. (Bonus Points are meaningless)

      see above 
    

3:

  • Have a clear target audience.

     This platform is for aspiring authors and writers who want to publish their books but lack the funds to do so. It also serves book lovers, supporters, and patrons who are interested in backing creative literary projects and helping new voices reach readers.
    

4:

  • Have user accounts. A user should have at least the following attributes:
    • Username
    • Email
    • Password

New User Registration Form

5:

  • Ability to create a “fundraiser” to be crowdfunded which will include at least the following attributes:
    • Title
    • Owner (a user)
    • Description
    • Target amount to raise
    • Whether it is currently open to accepting new supporters or not
    • When the fundraiser was created

When creating a new Fundraiser, you need to be logged in. New Fundriaser Form

After you created, you will see owner, status, whether it is open or not and when it is created.

Fundriaser Detail

6:

  • Ability to “pledge” to a fundraiser. A pledge should include at least the following attributes:
    • Amount
    • The fundraiser the pledge is for
    • The supporter/user (i.e. who created the pledge)
    • Whether the pledge is anonymous or not
    • A comment to go along with the pledge

When you are making a pledge it asks amount, you already pick the fundraiser, it asks whether you want to be anonymous or not, and you can comment. New Pledge Form

7:

  • Implement suitable update/delete functionality, e.g. should a fundraiser owner be allowed to update its description?

    Logged in user is arsen and fundraiser is created by apple, so update or delete button doesnt show up at all. delete others fundriaser is not allowered

    You can update your own fundraiser. You see update and delete button update your own fundriaser

    you can type whatever you want to update to.You can change title, goal, description, url etc.

update your own fundriaser This is what it looks like after update update your own fundriaser

8:

  • Implement suitable permissions, e.g. who is allowed to delete a pledge?

     Pledges cannot be deleted.However, to delete or update fundraiser, only owner can do it. See above for refecences. 
    

9:

  • Return the relevant status codes for both successful and unsuccessful requests to the API.

success

10:

  • Handle failed requests gracefully (e.g. you should have a custom 404 page rather than the default error page).

As there is no logged in user, it doesnt allow to create fundriaser. ( screenshot is taken before css update) invalid-token

You are not allowed to pledge against your own. error

11:

  • Use Token Authentication, including an endpoint to obtain a token along with the current user's details.

     Token will be diaplay in the network.
    

api-token

  • Implement responsive design.

responsive

hamburger menu hamburger

responsive design responsive

responsive design responsive

responsive design responsive

Extra features

Sort by and search bar sort and seacrh

comment on fundraiser comment on fundraiser

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages