Git Product home page Git Product logo

organization_demo's Introduction

Organization Project

Aim is to be able to create users under specific organizations Said users will be able to create and add links under those organizations Said users will only be able to view links of those organizations everytime they login Users will also be able to edit and delete those links.

Major Libraries used:

  1. Rest-auth library for implementing user registration and login
  2. Swagger for making a good looking documentation
  3. JWT for generating tokens upon login. Both session and token based logins are enabled
  4. Factory boy for generating models for easier implementation of unit tests.

Tweaks and Modifications:

  1. Implemented a signal that made makes user a staff upon registration (creation of a user object that is).
  2. An extra permission class called "OrganizationPermission" which raises a validation error (clean error handling) if a user that is registered is not part of an organization tries to view and/or modify the iframe links.
  3. Implemented unit tests to add, modify and delete iframe links.

Super admin credentials for the existing database:

username = admin password = admin

(P.S: Please login using username and password when navigating the django rest framework.)

UPDATE:

This project is also being currently used to test certain facebook messenger and page APIs in an attempt to eventually construct a makeshift automated reply system and hopefully a chatbot in the future.

organization_demo's People

Contributors

alig1493 avatar

Watchers

 avatar  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.