Code Monkey home page Code Monkey logo

portfolio-manager's Introduction

Portfolio Manager

This project has the goal of providing an API to access the projects in my portfolio, as well as having an administration panel where I can add, edit or delete them.

Endpoints

Projects list

Returns a list of all projects

  • method: GET
  • url: /api/projects/
  • Query parameters:
    • preview: Shows minimal information about each project
  • success response:
    • Code: 200 OK
    • Content example (with preview option passed:
[
    {
        "id": 3,
        "name": "Foo Project",
        "role": "Full-stack developer",
        "cover_image": "http://localhost:8000/media/screenshots/Foo%20Project/Screenshot_from_2021-02-24_18-50-22.png"
    }
]

Project details

Returns all the information about a particular project: Its id, name, my role in the project, the project's description, its year, the technologies used, and the project's screenshots

  • method: GET
  • url: /api/projects/:pk/
  • success response:
    • Code: 200 OK
    • Content example:
{
    "id": 3,
    "name": "Foo Project",
    "role": "Full-stack developer",
    "description": "Lorem ipsum dolor sit amet.",
    "year": 2017,
    "technologies": [
        {
            "id": 3,
            "how": "Django allowed me to ...",
            "technology_name": "Django",
            "technology_logo": "http://localhost:8000/media/technologies_logos/django.jpeg"
        },
        {
            "id": 4,
            "how": "In this project, JS allowed me to...",
            "technology_name": "JS",
            "technology_logo": "http://localhost:8000/media/technologies_logos/idea.jpeg"
        }
    ],
    "screenshots": [
        {
            "id": 2,
            "image": "http://localhost:8000/media/screenshots/Foo%20Project/Screenshot_from_2021-02-24_18-50-22.png",
            "is_cover": true,
            "caption": "Main screenshot",
            "project": 3
        },
        {
            "id": 3,
            "image": "http://localhost:8000/media/screenshots/Foo%20Project/idea.jpeg",
            "is_cover": false,
            "caption": "Another screenshot",
            "project": 3
        }
    ]
}

portfolio-manager's People

Contributors

revliscano avatar

Watchers

 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.