logo

Job Listings Frontend Project

Explore
Job Listings Frontend Project

Welcome to the Job Listing React Frontend! This repository contains a simple React application built with Vite that uses TailwindCSS for styling. The application interacts with the Job Listing FastAPI backend to manage job listings.

Features

  • List Jobs: View a list of all job listings.
  • Add Job: Create a new job listing.
  • View Job Details: View details of a specific job listing.
  • Update Job: Edit an existing job listing.
  • Delete Job: Remove a job listing.

Installation

Prerequisites

  • Node.js (v14 or above)
  • npm or yarn

Steps

  1. Clone the repository:

git clone https://github.com/your-username/job-listing-react-frontend.git
cd job-listing-react-frontend

  1. Install the dependencies:

npm install

# or

yarn install

  1. Start the development server:

npm run dev

# or

yarn dev

  1. Open your browser and navigate to http://localhost:3000.

Usage

The application will interact with the Job Listing FastAPI backend. Ensure the backend server is running at http://127.0.0.1:8000.

Available Scripts

'npm run dev or yarn dev' Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

'npm run build or yarn build' Builds the app for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.

'npm run preview or yarn preview'

Locally preview the production build.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any changes you propose.

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a new Pull Request

License

This project is licensed under the MIT License.