Skip to content

rajamohamedml/ansari-frontend

 
 

Repository files navigation

Ansari Chat React Project Documentation

Author: EndeavorPal Technology

This document provides detailed instructions for initializing and deploying the Ansari Chat React project. Adherence to these steps is crucial for successful project setup and execution.

1. Initial Requirements

  • Begin by cloning the repository. Execute the following command:

    git clone https://github.com/waleedkadous/ansari-frontend

  • Verify the installation of Node.js and Yarn on your system. These can be downloaded from their respective official sites:

2. Environment Setup

  • Duplicate the .env.example file, rename it to .env, and modify the REACT_APP_API_URL to correspond with the backend API's URL or the relative path to REACT_APP_PROXY_HOST.
  • Execute yarn install to procure all necessary dependencies.

3. Local Development Execution

  • Initiate the development mode by running yarn start.

4. Production Deployment

  • Install a web server, such as nginx, for hosting the production build. Reference the provided sample nginx configuration in the nginx.conf.sample file for setup guidance.
  • Generate the production build by executing yarn build. Locate the output in the build directory.
  • Transfer the contents of the build folder to the root directory of your web server.

About

Forked Dev branch Frontend for Ansari

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.0%
  • JavaScript 30.6%
  • TypeScript 13.8%
  • CSS 1.5%
  • Other 0.1%