8

GitHub - zurichat/zc_main: A Workspace Web App powered by React and Node Js.

 2 years ago
source link: https://github.com/zurichat/zc_main
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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 don't have it then install the project's dependencies:

yarn install

Run the Server

Run the development server from the root folder using either of the following commands:

npm run dev
# or
yarn dev

Run the application -- Frontend specific

Open the frontend folder zc_frontend in your terminal and run the application from the folder using either of the following commands:

npm run dev
# or
yarn dev

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

Editor setup

We're using eslint for 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 upside_down_face

Project structure

  • All components are in the components folder and styles for those components are in the styles folder.
  • Assets are in the assets folder, including images

Contributing

For detailed information on how to go about contribution. Check out the Contribution Guide

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

yarn format # in project directory

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK