This project is a React-based authentication client that demonstrates user authentication features, including sign-in, sign-up, and user profile management. It's built with React and integrates with Redux for state management, showcasing best practices in modern web application development.
- User Sign-in and Sign-up
- User Profile Management
- Redux for state management
- React Router for navigation
- Formik and Yup for form handling and validation
- Styled Components for styling
- React Bootstrap for UI components
Clone the repository to your local machine:
git clone https://github.com/hadi-alhadi/authentication-client-react.git
cd authentication-client-reactInstall the necessary dependencies:
npm install
To start the application in development mode, run:
npm start
This will launch the application on http://localhost:3000, where you can navigate through the authentication flow.
Run the following command to execute the tests:
npm test
To build the application for production, use:
npm run build
This creates a build directory with a production build of the app.
A Dockerfile is included for containerizing the application. Build the Docker image using:
docker build -t authentication-client-react .
Then, run your container:
docker run -p 3000:3000 authentication-client-react
The project is configured with GitHub Actions for continuous integration, automatically running lint checks and tests on each push or pull request to the master branch.
Contributions to the project are welcome. Please ensure to follow the existing coding style, write tests for your changes, and document any new functionality.
Distributed under the MIT License. See LICENSE for more information.
This README provides a comprehensive overview of the project, including how to get started, run the application, and contribute. You can copy this content to the README.md file in your repository to update it manually.