Giter VIP home page Giter VIP logo

plant-social-client's Introduction

Plant Social Client

Plant Social Client is a React application that allows users to share their plants, plant care notes, like other users' plants and care notes, and comment on other users' plants. Additionally, users can explore different plant species in the database and view the most liked care notes for those species.

Table of Contents

Installation

To get started with Plant Social Client, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/plant-social-client.git
  2. Change into the project directory:

    cd plant-social-client
  3. Install the necessary dependencies:

    npm install

Usage

Once you have installed the dependencies, you can start the development server:

npm start

This will launch the Plant Social Client application on http://localhost:3001 in your web browser.

Environment Variables

Before running the application, make sure to create an .env file in the root directory of the project and define the following environment variables:

  • REACT_APP_BACKEND_BASE_URL: The base URL of your backend server, which should be set to the server's URL. In this case, it should be set to the URL of the Plant Social Server backend (e.g., https://yourbackendurl.com/api/v1).

  • REACT_APP_BACKEND_IMAGE_BASE_URL: The base URL for serving images from the backend. This should also be set to the URL of your backend server's image storage or API (e.g., https://yourbackendurl.com).

Here is an example of the .env file:

REACT_APP_BACKEND_BASE_URL=https://yourbackendurl.com/api/v1
REACT_APP_BACKEND_IMAGE_BASE_URL=https://yourbackendurl.com

Make sure to replace https://yourbackendurl.com with the actual URLs of your backend server and image storage.

Dependencies

Plant Social Client relies on the following packages and libraries:

All dependencies are listed in the package.json file.

Scripts

Plant Social Client comes with several scripts that can be executed using npm:

  • start: Starts the development server on http://localhost:3001.
  • build: Builds the production-ready version of the app.

To run a script, use the following command:

npm run <script-name>

Contributing

If you would like to contribute to Plant Social Client, please open an issue or create a pull request on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Backend Repository

The backend server for this application is located in its GitHub repository. You can find more information about the backend server, its setup, and how it interacts with the Plant Social Client frontend in that repository.

plant-social-client's People

Contributors

emileypalmquist avatar

Watchers

 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.