This system provides a secure authentication solution using Flask and Vue.js. It allows users to register and log in securely.
- Secure registration and login functionality
- User data storage in a SQLite database
- Password hashing using bcrypt
- Secure session management using Flask-Session
- CSRF protection using Flask-WTF
- Clone the repository: git clone https://github.com/your-username/secure-auth.git
- Install dependencies: pip install -r requirements.txt (Flask) and npm install (Vue.js)
- Set up your database: configure the SQLALCHEMY_DATABASE_URI variable in app.py
- Run the Flask server: flask run
- Run the Vue.js frontend: npm run serve
- Users can register by providing an email and password.
- Users can log in by providing their email and password.
- Input validation to prevent SQL injection and XSS attacks
- Secure password hashing using bcrypt
- Secure session management using Flask-Session
- CSRF protection using Flask-WTF
- app.py: Flask backend server
- Login.vue: Vue.js login component
- Register.vue: Vue.js registration component
- main.js: Vue.js main application file
Contributions are welcome! Please submit pull requests or open issues on GitHub.
This project is licensed under the MIT License. See LICENSE for details.