0% found this document useful (0 votes)
8 views

Python Assignment.

The objective is to develop Flask APIs for user signup and sign in. This includes endpoints for registration, storing user data in a MySQL database, and authentication. Requirements include implementing signup and sign in endpoints, validating input, hashing passwords, and securely connecting the Flask app to MySQL. Submission must include Flask files, SQL scripts, a Postman video demo, and documentation on setup and usage. The focus is on Flask, MySQL integration, security, and clear documentation.

Uploaded by

jsvarnikachhavi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Python Assignment.

The objective is to develop Flask APIs for user signup and sign in. This includes endpoints for registration, storing user data in a MySQL database, and authentication. Requirements include implementing signup and sign in endpoints, validating input, hashing passwords, and securely connecting the Flask app to MySQL. Submission must include Flask files, SQL scripts, a Postman video demo, and documentation on setup and usage. The focus is on Flask, MySQL integration, security, and clear documentation.

Uploaded by

jsvarnikachhavi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment Title: Flask API Development for Signup and Sign In with MySQL Integration.

Objective:
Develop Flask-based APIs to handle user signup and sign-in functionalities. Create endpoints
for user registration, storing user data in a MySQL database, and authenticating users during
the sign-in process.

Requirements:
​ Signup API Endpoint:
● Implement an API endpoint (/signup) to receive username, email, and password
as input for user registration.
● Validate the input data received.
● Store user information securely in a MySQL database.
​ Sign In API Endpoint:
● Implement an API endpoint (/signin) to handle user login authentication.
● Receive username or email and password as input.
● Validate the user credentials against the stored data in the MySQL database.
● Return appropriate responses based on successful or failed login attempts.
​ MySQL Database Integration:
● Create a MySQL database to store user information (username, email, hashed
password).
● Establish a connection between the Flask application and the MySQL database.
● Ensure proper table structure for user data storage.
​ Postman Test and Documentation:
● Record a video showcasing the functionality of the developed APIs using
Postman. Include testing of signup and sign-in functionalities.
● Provide clear and detailed documentation on how to:
● Set up the Flask application locally.
● Configure and set up the MySQL database.
● Run and test the APIs using Postman or any similar tool.
​ Security Measures:
● Hash user passwords before storing them in the database.
● Implement secure communication for API endpoints.
Submission Guidelines:
● Submit the Flask project files with clear instructions on how to run the application locally.
● Include SQL scripts or instructions for setting up the MySQL database.
● Provide a video demonstrating the API functionality using Postman.
● Document the setup process and API usage in detail for easy understanding.

Note: Emphasize Flask, MySQL integration, security practices, and clear documentation of the
setup and usage of the APIs. The video demonstration in Postman will help showcase the
functionality of the developed endpoints
:
Develop Flask-based APIs to handle user signup and sign-in functionalities. Create endpoints
for user registration, storing user data in a MySQL database, and authenticating users during
the sign-in process.
Requirements:
​ Signup API Endpoint:
● Implement an API endpoint (/signup) to receive username, email, and password
as input for user registration.
● Validate the input data received.
● Store user information securely in a MySQL database.
​ Sign In API Endpoint:
● Implement an API endpoint (/signin) to handle user login authentication.
● Receive username or email and password as input.
● Validate the user credentials against the stored data in the MySQL database.
● Return appropriate responses based on successful or failed login attempts.
​ MySQL Database Integration:
● Create a MySQL database to store user information (username, email, hashed
password).
● Establish a connection between the Flask application and the MySQL database.
● Ensure proper table structure for user data storage.
​ Postman Test and Documentation:
● Record a video showcasing the functionality of the developed APIs using
Postman. Include testing of signup and sign-in functionalities.
● Provide clear and detailed documentation on how to:
● Set up the Flask application locally.
● Configure and set up the MySQL database.
● Run and test the APIs using Postman or any similar tool.
​ Security Measures:
● Hash user passwords before storing them in the database.
● Implement secure communication for API endpoints.
Submission Guidelines:
● Submit the Flask project files with clear instructions on how to run the application locally.
● Include SQL scripts or instructions for setting up the MySQL database.
● Provide a video demonstrating the API functionality using Postman.
● Document the setup process and API usage in detail for easy understanding.
Note: Emphasize Flask, MySQL integration, security practices, and clear documentation of the
setup and usage of the APIs. The video demonstration in Postman will help showcase the
functionality of the developed endpoints

Assignment Deadline 06-12-23. 8PM

You might also like