This project is the frontend component of a full-stack application, built using Next.js and React. It provides a user interface for managing users and their profiles, interacting with the backend API to perform CRUD operations.
-
User Management Interface:
- Displays a list of all users
- Allows creation of new user accounts
- Provides forms for updating user information
- Supports deletion of user accounts with confirmation
-
Profile Management Interface:
- Shows detailed user profiles
- Enables creation and editing of user profiles
- Allows viewing of profile information
-
Responsive Design:
- Utilizes Tailwind CSS for a responsive and modern UI
- Ensures a seamless experience across various device sizes
-
State Management:
- Uses Redux for efficient state management across the application
-
Form Handling:
- Implements React Hook Form for efficient form state management and validation
-
API Integration:
- Communicates with the backend API to perform all CRUD operations
This frontend application provides an intuitive and user-friendly interface for managing user data, making it suitable for various applications such as admin panels, user management systems, or as part of a larger application requiring user account functionality.
- Framework: Next.js
- Language: TypeScript
- State Management: Redux
- Styling: Tailwind CSS
- Form Handling: React Hook Form
- API Calls: Axios
- User listing, creation, editing, and deletion
- User profile management
- Responsive design
- State management with Redux
- Form validation and handling
- API integration with backend
Before you begin, ensure you have met the following requirements:
- Node.js (v14 or later)
- npm (v6 or later)
- Backend API running (see backend repository)
-
Clone the repository:
git clone https://github.com/GauravOOO2/full-stack_two_endPoints_project_Frontend.git
-
Navigate to the project directory:
cd full-stack_two_endPoints_project_Frontend
-
Install dependencies:
npm install
-
Set up your environment variables:
- Create a
.env.local
file in the root directory - Add necessary variables, such as the API URL
- Create a
To run the application in development mode:
npm run dev
To run the application in production mode:
npm run build
npm run start
In the project directory, you can run:
npm run dev
: Runs the app in development modenpm run build
: Builds the app for productionnpm start
: Runs the built app in production modenpm run lint
: Runs the linter to check for code quality issues
Contributions to this project are welcome. Please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-branch-name
- Create a pull request
If you have any questions or feedback, please contact:
Gaurav - varmagaurav840@gmail.com
Project Link: https://github.com/GauravOOO2/full-stack_two_endPoints_project_Frontend