项目作者: UsanaseD

项目描述 :
Teamwork is an ​internal social network for organizations’ employees. The goal of this application is to facilitate more interaction between colleagues and facilitate team bonding. 
高级语言: HTML
项目地址: git://github.com/UsanaseD/TEAMWORK.git
创建时间: 2019-09-07T16:20:21Z
项目社区:https://github.com/UsanaseD/TEAMWORK

开源协议:

下载


Coverage StatusBuild Status

TEAMWORK

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

Install / Getting Started

make sure you have Node Js running on your system to Install TEAMWORK

Folder Structure

Project Structure

  1. Server/
  2. config/
  3. controllers/
  4. helpers/
  5. middleware/
  6. model/
  7. routes/
  8. test/
  9. server.js

Developing

To run this Web App follow the following steps

  1. git clone https://github.com/UsanaseD/TEAMWORK
  2. cd TEAMWORK
  3. npm install #'Install dependencies'
  4. npm run start #'past http://localhost:2000/ in your browser'

Building

  1. npm run transpile # ' Transpile your ES6 code into ./dist forlder'
  2. npm run test #'run the test '

Features

  • Authentication system
  • API endpoints

EndPoints

To test all these endpoints localally you should use postman chrom.
check their HTTP Methods (before endpoints)

  • article endpoints
  1. (POST)/api/v1/article #'endpoint to post an article'
  2. (GET)/api/v1/article/:id # 'endpoint to select a specified article'
  3. (GET)/api/v1/reparticle #'endpoint to select all ReportedArticles'
  4. (GET)/api/v1/article #'endpoint to select all articles'
  5. (PATCH)/api/v1/article/:id # 'endpoint to update an article'
  6. (DELETE)/api/v1/article/:id #'endpoint to delete an article'
  • comment endpoint
  1. (POST)/api/v1/comment #'endpoint to post a comment'
  • flagging endpoints
  1. (POST)/api/v1/articleflag #'endpoint to flag an article'
  2. (POST)/api/v1/commentflag #'endpoint to flag a comment'
  • Authentication endpoints
  1. (POST)/api/v1/auth/signup #'endpoint to signup'
  2. (POST)/api/v1/auth/login #'endpoint to login'