Skip to content

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

License

Notifications You must be signed in to change notification settings

an-apluss/teamwork

Repository files navigation

Build Status Coverage Status Test Coverage Maintainability

Teamwork

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

Github Project Card

Project is currently being built with the Project Management Tool; Github Project. You can find the stories at https://github.com/an-apluss/teamwork/projects/1

API Deployment

API deployment URL - https://web-teamwork.herokuapp.com

API Documentation

API documentation URL - https://web-teamwork.herokuapp.com/documentation

Built With

Getting Started

Installation

  • Clone this repository using git clone https://github.com/an-apluss/teamwork.git .
  • Use the .env.example file to setup your environment variables and rename the file to .env
  • Run npm install to install all dependencies
  • Run npm start to start the server

Supporting Packages

Linter

Compiler

  • Babel - Compiler for Next Generation JavaScript

Test Tools

  • Mocha - JavaScript Test Framework for API Tests (Backend)
  • Chai - TDD/BDD Assertion Library for Node
  • Chai-http - A Chai plugin for testing node.js HTTP servers
  • Istanbul(nyc) - Code Coverage Generator
  • Run Test
npm test

  • Run Coverage Report
npm run coverage

API Routes

DESCRIPTION HTTP METHOD ROUTES
Create user account POST /api/v1/auth/create-user
Login a user POST /api/v1/auth/signin
Create a gif POST /api/v1/gifs
Create an article POST /api/v1/articles
Edit an article PATCH /api/v1/articles/<:articleId>
Employees can delete their articles DELETE /api/v1/articles/<:articleId>
Employees can delete their gifs DELETE /api/v1/gifs/<:gifId>
Employees can comment on other colleagues'
article post POST /api/v1/articles/<:articleId>/comment
Employees can comment on other colleagues'
gif post POST /api/v1/gifs/<:gifId>/comment
Employees can view all articles or gifs,
showing the most recently posted articles
or gifs first GET /api/v1/feed
Employees can view a specific article GET /api/v1/articles/<:articleId>
Employees can view a specific gif GET /api/v1/gifs/<:gifId>

Project References

License

© Anuoluwapo Akinseye

Licensed under the MIT License

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published