Giter Site home page Giter Site logo

bmugenya / teamwork Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 3.03 MB

Teamwork is an ​ internal social network for employees of an organization. The goal of this application is to facilitate more interaction between colleagues and promote team bonding.

License: MIT License

JavaScript 94.81% TSQL 5.19%

teamwork's Introduction

Build Status Coverage Status

Teamwork

Teamwork is an ​ internal social network for employees of an organization. The goal of this application is to facilitate more interaction between colleagues and promote team bonding.

API End points

Method Endpoint Function
ADMIN . .
POST /api/v1/auth/create-user Admin can create an employee user account.
POST /api/v1/auth/signin Admin/Employees can sign in.
GET /api/v1/flags Admin can view all reported post.
DELETE /api/v1/flag Admin can delete flaged post.
EMPLOYEE . .
POST /api/v1/articles Employees can write and post articles.
POST /api/v1/gifs Employees can post gifs.
PATCH /api/v1/articles/<articleId> Employees can edit their articles.
DELETE /api/v1/articles/<articleId> Employees can delete their articles.
DELETE /api/v1/gifs/<gifId> Employees can delete their gifs post.
POST /api/v1/articles/<articleId>/comment Employees can comment on other colleagues' article post.
POST /api/v1/gifs/<gifId>/comment Employees can comment on other colleagues' gif post.
GET /api/v1/feed Employees can view all articles in descending order.
GET /api/v1/article/<articleId> Employees can view a specific article.
GET /api/v1/gif/<gifId> Employees can view a specific gif post.
GET /api/v1/feed/search?category={category} Employees can view all articles that belong to a category (tag).
POST /api/v1/articles/<articleId>/flag Employees can flag an article as inappropriat
POST /api/v1/gifs/<gifId>/flag Employees can flag a gif as inappropriat

Testing

First, you will need to run postman

teamwork's People

Contributors

bmugenya avatar

Stargazers

Roman avatar Vitalii Molchanov avatar koech peter avatar

Watchers

 avatar

Forkers

mugzz

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.