This is a submission page for CCCS 106 - Applications Development of BSCS 3B.
- Write a Flask app displaying "HELLO WORLD".
- Submit the app files by pushing and sending pull request. Folder name is PS1 under your folder name.
- Set up a new Python project.
- Create a basic Flask app: • Write a Python file to define your Flask application. • Import necessary modules. • Create a Flask app instance. • Define a route for the home page.
- Create a template: Create an HTML file to display the initial content "Hello, World!"
- Add a Form and Personalized Greeting:
- Modify the template: Add a form with a name input field.
- Create a route to handle the form: • Define a route to process the form submission. • Retrieve the entered name. • Return the greeting message "Hello World! ‹Name>, welcome to CCCS 106 - Applications Development and Emerging Technologies".
- Submit the App:
- Organize your files: Place your Python file and template in a specified directory. Folder name is PS1 under your folder name.
- Push to your Git repository
- Create a pull request
- Modify the code for PS1 by creating a registration form with Boostrap.
- Registration form should contain the following information:
- First Name
- Middle Name
- Last Name
- Contact Number
- Email Address
- Address
- Input must be saved into a JSON file.
- Submit the App:
- Organize your files: Place your Python file and template in a specified directory. Folder name is PS2 under your folder name.
- Push to your Git repository
- Create a pull request
- Modify the code for PS2 by saving the input from registration form to a MySQL database.
- Database Info:
- Database Name: adet
- Table Name: adet_user
- Submit the App:
- Organize your files: Place your Python file and template in a specified directory. Folder name is PS3 under your folder name.
- Push to your Git repository
- Create a pull request
-
Modify the code for PS3 by modifying the registration form (sign-up). Add a password field, that when being saved it must be encrypted using sha-256 encryption.
-
Add a login page by asking for a username and password. Use session to control the access to every page.
- When successfully logged in, user must be redirected to a Dashboard.
- If not logged in, prevent the user access to the Dashboard. The user must be redirected to login page.
-
Create a simple Dashboard with a message:
- Hello, First Name and below this should be a table containing the user details except the password.
-
Submit the App:
- Organize your files: Place your Python file and template in a specified directory. Folder name is PS4 under your folder name.
- Push to your Git repository
- Create a pull request