Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Latest commit

 

History

History
52 lines (42 loc) · 1.44 KB

CONTRIBUTE.md

File metadata and controls

52 lines (42 loc) · 1.44 KB

Setup the repository to your local environment.💌

  1. Fork the repository - Creates a replica of repository to your local environment.
  2. Clone the repository - Downloads all repo files to your machine, using
git clone https://github.com/YOUR-USERNAME/code-sync
  1. Set working directory to the root directory of the project.
cd code-sync

Frontend ⚛️

Following are the steps to run the frontend of the community-website on your local. All the frontend code will go in the client directory.

  1. Navigate to client folder.
cd client
  1. Install all the required packages and dependencies.
npm install
  1. Rename .env.example to .env & Fill data as described.

Backend 💻

Following are the steps to run the backend of the community-website on your local. All the backend code will go in the @root folder.

  1. Install all the required packages and dependencies on @Root folder under code-sync directory.
npm install
  1. Rename .env.example to .env & Fill data as described.

Run/Compile ⏱️

  • If you wanna run frontend and backend at one time then you can run command

    npm run dev
  • For Just Frontend/Client

    npm run client
  • For Backend/Server

    npm run server
  • Backend Run on port localhost:ENV_PORT & Frontend Run on localhost:3000