https://github.com/sanjayengineer121/flask-application-with-devops-integration
a
https://github.com/sanjayengineer121/flask-application-with-devops-integration
Last synced: 9 months ago
JSON representation
a
- Host: GitHub
- URL: https://github.com/sanjayengineer121/flask-application-with-devops-integration
- Owner: sanjayengineer121
- Created: 2024-02-23T06:59:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T15:35:24.000Z (almost 2 years ago)
- Last Synced: 2024-02-24T08:24:14.604Z (almost 2 years ago)
- Language: HTML
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Login-Portal
Login portal built using Flask, MongoDB ,JWT with user and admin roles
Part 1: Flask Application
Create a Task Manager Flask Application:
● Create a simple task manager where users can add, edit, and delete
tasks).
● Include a login page that Uses JWT for login.
Static Files and Templates:
● UI need not be very fancy, the main focus should be on the backend
and deployment
Database Integration:
● Integrate a database (SQLite or any other of your choice).
● Sensitive data like passwords, etc should be encrypted.
Logging:
● Implement logging in your Flask application. Log relevant information,
errors, and debug messages.
Part 2: Deployment on AWS
Docker Setup:
● Create a Dockerfile for the Flask Application.
● Build the docker image with proper name and tags.
SSH Access:
● Use the provided command/credentials to SSH into the EC2 VM.
Flask App Deployment:
● Run the docker image with proper configuration and port assignment.
● Verify that the application is running on the specified http://IP:PORT/.
Note:
1. Backend and Deployment should be the point of focus.
2. Also, If you face any issues with accessing the VM, feel free to reach out to
us.