Welcome to the Authentication Frontend project! This Vue.js project serves as the frontend interface for interacting with our backend authentication APIs. Below, you'll find information on how to set up and run the frontend application.
- Sign Up: Register new accounts securely. ✅
- Email Verification: Verify user emails for enhanced security. ✅
- Sign In: Secure login mechanism for registered users. ✅
- Password Reset: Secure process for users to reset their passwords. ✅
- Profile Image: Upload and update profile images. ✅
- Bio: Add, modify, or delete biography information. ✅
- Username: Change usernames as needed. ✅
- Remove Full Account: Remove all user data from the database.
- Attribute-based Authorization: Control resource access based on user attributes. ✅
- Input Validation and Output Encoding: Protect against web vulnerabilities by validating inputs and encoding outputs. ✅
- Node.js
- npm (Node Package Manager)
Clone the Frontend Repository:
git clone https://github.com/amiroooamiran/Vue.js_authentication.git
Install dependencies:
cd Vue.js_authentication
npm install
- Open the
main.js
file of your Vue.js project. - Find the section where axios is configured and set the base URL to match your backend server address:
// Example: Change the baseURL to match your backend server address
axios.defaults.baseURL = "http://localhost:8000";
npm run serve
The project includes a Dockerfile, facilitating the deployment of the application within Docker containers. This simplifies the deployment process and ensures consistent behavior across various environments.
Before running the application with Docker, ensure that Docker and docker-compose are installed on your system. If not, you can install them by following the official documentation.
To start Docker, use the following commands:
sudo systemctl start docker
sudo systemctl enable docker
after install Docker and Run docker on your ststem, move in project directory and up docker-compose file:
sudo docker-compose up
Thank you for choosing our Authentication Frontend project! If you have any questions or need further assistance, please don't hesitate to contact us. We're here to help ensure your experience with our project is smooth and successful.