Skip to content

bryzle/se_project_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WTWR (What to Wear?) - Front End

About the Project

WTWR (What to Wear?) is a full-stack application that helps users make informed clothing choices based on daily weather forecasts. This repository contains the front-end codebase, which provides a responsive and user-friendly interface to display weather data and recommended clothing items.


Features

  • Dynamic Weather Integration: Fetches and displays real-time weather data through API calls.
  • Clothing Recommendations: Suggests suitable attire based on current weather conditions.
  • Responsive Design: Optimized for seamless usability across desktop and mobile devices.
  • User Authentication: Supports secure login and personalized recommendations.

Links


Technologies Used

  • React: Front-end library for building the user interface.
  • CSS: Styling for responsive and visually appealing designs.
  • Fetch API: For API calls to fetch weather and clothing data.
  • React Router: Enables navigation between pages.

Installation

Prerequisites

  • Node.js (v14 or higher)
  • npm (Node Package Manager)

Steps

  1. Clone the repository:

    git clone https://github.com/bryzle/se_project_react.git
  2. Navigate to the project directory:

    cd se_project_react
  3. Install dependencies:

    npm install
  4. Create a .env file in the project root and add the back-end API URL:

    REACT_APP_API_URL=https://wtwr.brandonlum.com
  5. Start the development server:

    npm start

    The application will run on http://localhost:3000.


Usage

  • View Weather Forecasts: Access real-time weather information.
  • Get Clothing Suggestions: Receive tailored clothing recommendations based on the forecast.
  • Secure Access: Log in for a personalized experience.

File Structure

src/
├── assets/         # Images and icons
├── components/     # Reusable React components
│   ├── Header/     # Navigation header
│   ├── Footer/     # Footer with links
│   ├── Weather/    # Weather display components
│   ├── Clothing/   # Recommended clothing components
├── pages/          # Page-level components
├── utils/          # Utility functions (e.g., API calls)
├── App.js          # Main application file
├── index.css       # Global styles
└── index.js        # Entry point

About

React front-end application WTWR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published