GithubHelp home page GithubHelp logo

lefantan / wedlab-cmput404-project Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 9.19 MB

Home Page: https://social-dist-wed.herokuapp.com/

License: Apache License 2.0

Shell 0.09% Python 58.85% Procfile 0.05% HTML 27.08% CSS 6.61% JavaScript 7.31%

wedlab-cmput404-project's Introduction

Hey there, it's Lefan here 😳

Thank you for visitng my profile, here are a couple links that will tell you more about me!

 

a bit about me...

  • 🎓University of Alberta BSc Computer Science Alumni
  • 🕸️SUPER Interested in WEB DEVELOPMENT
  • 🥊🏸 Always down for boxing and badminton
  • ☕ Fun Fact: I love brewing my own cup of coffee

Lefan's GitHub stats

wedlab-cmput404-project's People

Contributors

alisha03 avatar chen74 avatar lefantan avatar lewisning avatar sandipsahajoy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

wedlab-cmput404-project's Issues

AU 01.15 Unlisted Posts

As an author, I want to be able to make posts that are unlisted, that are publicly shareable by URI alone (or for embedding images)

AU 02.05 Server Tracks Friends

As an author, my server will know about my friends

Just add
admin.site.register(Friends) to admin.py when you're done with setting up the model, and it's done

AU 01.00 Public posts

As an author, I want to make public posts

Task: Create following endpoints:

URL: ://service/authors/{AUTHOR_ID}/posts/{POST_ID}

GET [local, remote] get the public post whose id is POST_ID

(Authentication)
POST [local] update the post whose id is POST_ID (must be authenticated)

AU 02.04 Follow vs True Friends

As an author, When I befriend someone I follow them, only when the other author befriends me do I count as a real friend – a bi-directional follow is a true friend

AU 01.03 Create Image posts

As an author, posts I create can be images

Basically allow Post related endpoints to accept images as base64 or link

Description:
Image Posts are just posts that are images. But they are encoded as base64 data. You can inline an image post using a data url or you can use this shortcut to get the image if authenticated to see it.

URL: ://service/authors/{AUTHOR_ID}/posts/{POST_ID}/image
GET [local, remote] get the public post converted to binary as an iamge
return 404 if not an image
This end point decodes image posts as images. This allows the use of image tags in markdown.
You can use this to proxy or cache images.

AU 01.02 Posts Link to Images

As an author, posts I create can link to images

Post endpoints must allow images to be added, through a URL or direct base64 encoding of an imge

AU 01.01 Edit Public Posts

As an author, I want to edit public posts

URL: ://service/authors/{AUTHOR_ID}/posts/{POST_ID}
PUT [local] create a post where its id is POST_ID

AU 01.11 Delete Public Posts

As an author, I want to delete my own public posts

URL: ://service/authors/{AUTHOR_ID}/posts/{POST_ID}
DELETE [local] remove the post whose id is POST_ID

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.