Git Product home page Git Product logo

blakerach1_crowdfunding_back_end's Introduction

CrowdHarbour Back End: Funding Waves of Social Change

Repository for the backend of the She Codes Crowdfunding project, utilizing the Django Rest Framework.

Python  DjangoREST   SQLite   Insomnia

About

CrowdHarbour is a web application that provides a platform for social impact initiatives to raise funds for their projects.

Intended Audience/User Stories

Those seeking to raise awareness and gather financial support for their projects that have a meaningful impact on social wellbeing. These initiatives target social issues and aim to create positive and lasting changes in society. These initiatives might focus on providing greater education access or promoting environmental sustainability for example.

Deployed Project Link

https://crowdfunding-back-end-424.fly.dev/projects/

Interacting with API via Insomina

URL: https://crowdfunding-back-end-424.fly.dev/projects/

Interacting with API via Django REST Framework Interface

Successful GET request of USER endpoint

Image of successful GET request for users endpoint

Successful POST request of USERS endpoint

Image of successful POST request for users endpoint

Successful POST request to obtain token

Image of successful POST request for token endpoint

Creating a New USER

Using Insomnia

annotated image of creating a new user via Insomnia

1. Set up a new POST HTTP request and enter: https://crowdfunding-back-end-424.fly.dav/users/ into the URL bar.

2. Populate the "JSON" body field with user data in JSON format.

3. Once you have entered at least the username, first_name, last_name, email and password for your user, Click send.

Using Django REST Interface

annotated image of creating a new user via Django REST interface

1. Enter the following in your web browser: https://crowdfunding-back-end-424.fly.dav/users/.

2. Populate the "JSON" body field with user data in JSON format.

3. Once you have entered at least the username, first_name, last_name, email and password for your user, Click post.

image with successful response for user creation

Creating a New PROJECT

Using Insomnia

first annotated image of creating a new project via Insomnia

1. Set up a new POST HTTP request and enter: https://crowdfunding-back-end-424.fly.dav/projects/ into the URL bar.

2. Populate the "JSON" body field with project data in JSON format.

3. Enter your user token under the "bearer" tab.

4. Once you have entered at least the title, description and goal for your project Click send.

second annotated image of creating a new project via Insomnia

Using Django REST Interface

1. Enter the following in your web browser: https://crowdfunding-back-end-424.fly.dav/projects/.

2. Populate the "JSON" body field with project data in JSON format.

3. Once you have entered at least the title, description and goal for your project Click post.

API Spec

URL HTTP Method Purpose Request Body Success Response Code Authorizon/Authentication Implemented Yet
/projects/ GET Returns all projects. N/A 200 None required Yes
/projects/ POST Create a new project. Project object. 201 Must be logged in Yes
/projects/1/ GET Returns the project with ID of "1". N/A 200 None required Yes
/projects/1/ PUT Updates the project with ID of "1". Project object. 202 Must be logged in Yes
/pledges/ GET Returns all pledges. N/A 200 None required Yes
/pledges/ POST Create a new pledge. Pledge object. 201 Must be logged in Yes
/pledges/1/ GET Returns the pledge with ID of "1". N/A 200 None required Yes
/categories/ GET Returns all categories. N/A 200 None required No
/categories/1/ GET Returns the category with ID of "1". N/A 200 None Required No

Front End Pages/Functionality

  • {{ A page on the front end }}
    • {{ A list of dot points showing functionality is available on this page }}
  • {{ A second page on the front end }}
    • {{ A list of dot points showing functionality is available on this page }}

Contact Me

If you have any questions regarding the project or would like to get in touch, please refer to my contact information below.

email link GitHub badge

blakerach1_crowdfunding_back_end's People

Contributors

blakerach1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.