Giter Site home page Giter Site logo

zc_main's Introduction

zc_main

This is the Zuri Chat frontend built with ExpressJS (Backend) and React (Frontend)

Getting Started.

Make sure you have nodejs installed by running the following command:

node -v

If the output is not the version of your nodejs installation, install nodejs from here

After installing nodejs install yarn if you have it then install the project's dependencies:

yarn install

to only install for one of the folders(topbar, sidebar, control)

yarn setup:<FOLDER-NAME>

STARTING THE SERVER

To start the whole application server

yarn dev

To only start a single application server run the following command

yarn dev:<FOLDER-NAME>

Open http://localhost:9000 with your browser to see the result.

The apllications are served at

Topbar : http://localhost:8080

Sidebar : http://localhost:8081

Control : http://localhost:8082

PluginHeader : http://localhost:8083

Building

yarn build

To only build a single application server run the following command

yarn build:<FOLDER-NAME>

To remove all node_modules and yarn.lock

yarn clean:fresh

To open app in the browser

yarn open

Editor setup

We're using eslint for js linting, stylelint for css linting and prettier for code formating, make sure you install eslint and prettier plugins in your editor so you can see linting errors as you code and have your code formatted on save by prettier. If formatOnSave doesn't work please google how to set up format on save for the eslint & prettier plugins in your editor ๐Ÿ™ƒ

Contributing

For detailed information on how to go about contributing to this project. Check out the

Before send PR or making a merge make sure you code is properly formatted. You can easily do that by running

yarn lint # to lint all files # in project directory
yarn lint:js # to lint only js,jsx files # in project directory
yarn lint:css # to lint only css files # in project directory

yarn prettify # to prettify files # in project directory

you can also lint for all files in the repo by running that command in the root folder

zc_main's People

Contributors

a11rew avatar abaniwom avatar agkayster avatar ayodejioladimeji avatar bori7 avatar bwise1 avatar cgnnanna avatar chumex412 avatar cyrilchukwuebuka avatar dantanee avatar donsmog avatar eltana avatar funabab avatar heisdeku avatar ickynavigator avatar kene10-codes avatar khrees2412 avatar okerekechinweotito avatar pidoxy avatar robertito1 avatar sammiearchie77 avatar solintin avatar tech-sis avatar temilade05 avatar thatdeji avatar theisrael1 avatar tuasegun avatar utitofon-udoekong avatar wumidev avatar zyhon96 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.