GithubHelp home page GithubHelp logo

zc_messaging's Introduction

ZC Messaging

This plugin handles messaging for both DM and Channels

Project Structure

This project is a monolith application. You will find two folders namely:

  1. backend
  2. frontend

Depending on your track, you are to work in the folder that concerns you.

Setup

Backend

  • Fork this repository to have a copy of it in your own github account

  • Clone the forked repo to your PC, this gives you access to the repo locally

  • Install Python from https://www.python.org/downloads/ if you haven't

  • cd into the project folder

  • cd into the backend folder

  • Ensure a virtual environment has been created and activated by either using

    • For pipenv

      pipenv shell #creates and activates a virtual environment
    • For venv

      python -m venv venv # to create a virtualenv
      source venv/bin/activate # activate for linux
      venv\Scripts\activate # activate for windows
  • Run the startup.sh script to install dependencies and start up server by typing out this command on your terminal(Linux, Mac) or Git bash (Windows)

    sh startup.sh venv # starts script to use virtualenv
    sh startup.sh pipenv # starts script to use pipenv
  • Server can also be manually started by using the following command

    uvicorn main:app --reload

Frontend

  • Fork this repository to have a copy of it in your own github account
  • Clone the forked repo to your PC, this gives you access to the repo locally
  • Install Node from https://nodejs.org/ if you haven't
  • cd into the project folder
  • cd into the frontend folder
  • yarn install
  • yarn setup to setup app
  • yarn setup:root to setup SPA
  • yarn setup:messaging to setup React App
  • yarn dev to run apps simultaneously
  • yarn dev:root to run SPA
  • yarn dev:messaging to run React App
  • yarn build to build apps simultaneously
  • yarn build:root to build SPA
  • yarn build:messaging ro build React App
  • yarn lint to lint App
  • yarn prettify to run prettier

Technologies Used

  1. Backend: FastApi
  2. Frontend: React

zc_messaging's People

Contributors

o4codes avatar zxenonx avatar tundealabi avatar florenceegwu avatar dependabot[bot] avatar delight-fela-steve avatar mukhtarb avatar pauline-banye avatar snyk-bot avatar austinoski avatar kinglighthill avatar mikenrowland avatar bwise1 avatar man-of-mind avatar odelolajosh avatar benjamin-bala avatar almaudoh avatar mend-bolt-for-github[bot] avatar

Stargazers

 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.