Skip to content

Adrianaortiz00/HappyTravel

 
 

Repository files navigation

Happy Travel

Overview

This is the frontend application for the Travels API, which allows users to manage their travel experiences. The application enables users to register, log in, view, create, edit, and delete travel entries. It is built using React, and it communicates with the backend API to perform various operations related to user and travel management.

Features 📋

User Management:

  • User registration and login.

  • Store user authentication token in localStorage.

Travel Management:

  • View all travels with pagination.

  • Create new travel entries.

  • Edit existing travel entries.

  • Delete travel entries.

  • View travel details.

  • Restrict edit and delete options to the travel entries created by the logged-in user.

Search Functionality:

  • Search for travels by title or location with results displayed on the homepage.

Technologies Used 🛠️

  • React (Frontend framework)

  • React Query (Data fetching and state management)

  • Axios (HTTP client for API requests)

  • React Router (Client-side routing)

  • SCSS (Styling)

Installation Guide 🔧

  1. Clone the repository

  2. Navigate to the project directory

  3. Install the dependencies:


npm install

Contribution

Contributions are welcome. Please follow these steps:

  1. Fork the project

  2. Create a new branch:

git checkout -b feature/new-functionality
  1. Make your changes and commit them:
git commit -am 'Add new functionality'
  1. Push your changes to the branch:
git push origin feature/new-functionality
  1. Open a Pull Request

Backend Integration

For the backend setup and more details about the API endpoints, refer to the Backend README.

Autoras ✒️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 77.9%
  • SCSS 21.2%
  • HTML 0.9%