Giter Site home page Giter Site logo

zc_plugin_company_files's Introduction

Zuri Chat Company Files Plugin


Overview

Company Files Management Plugin for Zuri Chat.

Local Setup Instruction

  1. Ensure nodejs and git are installed in machine
  2. Clone this repo using git clone https://github.com/zurichat/zc_plugin_company_files.git
  3. Change directory into the new clone cd zc_plugin_company_files
  4. Run setup script to install all packages using npm run install-setup or npm run install-setup:npm
  5. Run build script to get bundled react file npm run build:local or npm run build:local-npm
  6. Now run server in development mode with npm run dev
  7. Go to local

Project Structure

For the BackEnd structure of this project, please refer to this document.

Linting

Linting is the automated checking of a source code for programmatic and stylistic errors. This is done by using a lint tool (otherwise known as linter). A lint tool is a basic static code analyzer. Linting is important to reduce errors and improve the overall quality of our code.

For the backend part of this project, the Google code style is used with some minor modifications. A code style is set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.

Commit Guide

This plugin uses Commitlint to ensure commits messages follow a particular convention using the conventional config. If you're totally new to this convention, that's totally fine.

Commit CheatSheet

Type Description
feat Features A new feature
fix Bug Fixes A bug fix
docs Documentation Documentation only changes
style Styles Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor Code Refactoring A code change that neither fixes a bug nor adds a feature
perf Performance Improvements A code change that improves performance
test Tests Adding missing tests or correcting existing tests
build Builds Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
ci Continuous Integrations Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
chore Chores Other changes that don't modify backend, frontend or test files
revert Reverts Reverts a previous commit

Sample Commit Messages

  • chore: Updated README file := chore is used because the commit didn't make any changes to the backend, frontend or test folders in any way.
  • feat: Added plugin info endpoints := feat is used here because the feature was non-existent before the commit.

Dev Contribution Guide

  1. Fork the repository
  2. Clone and then open it up on your prefered code editor
  3. Open your terminal & set the upstream branch: git remote add upstream https://github.com/zurichat/zc_plugin_company_files.git
  4. Pull upstream git pull upstream switch
  5. Create a new branch for the user story you're working on eg : git checkout -b feat-import-file-from-url
  6. After making changes, do git add .
  7. Commit your changes with a descriptive commit message : git commit -m "your commit message".
  8. To make sure there are no conflicts : git pull upstream switch
  9. Push changes to your new branch : git push origin feat-import-file-from-url
  10. Create a pull request to the switch branch.

zc_plugin_company_files's People

Contributors

billmal071 avatar omzi avatar edwardoboh avatar berryboylb avatar sephson avatar oscar-ekeyekwu avatar johannesphil avatar 0xdamak avatar devvyhac avatar smiletondi avatar paulynson avatar chinwendu20 avatar nkechi-christabel avatar johndiddles avatar samuel-chris avatar dubjay18 avatar johnokwajebi avatar stephengade avatar macgee20 avatar tunjii10 avatar kenneropia avatar kaycee-dev avatar flxboss avatar falence avatar leona-cloud avatar amasaabu avatar abiodunjohnson avatar davidakinjames avatar dipo-jaiye avatar i-mhyke avatar

Watchers

James Cloos 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.