Code Monkey home page Code Monkey logo

intern-assesment-'s Introduction

Internship-Assesment

Name: Kishwanth A/L Hari Krishnan
Internship period : October 2023 - March 2024 (24 weeks/6 months)
HP Number : 016-968 4170
Email : [email protected]

Assesment Question 1

Introduction

The Web App provides a straightforward way to handle user registration, login, and profile management within a React-based web application. Users can register an account with a valid username, email, and password. Once registered, users can log in with their credentials, view and edit their profile information, including an "About Me" text, hobbies, education, and skills.

Features

  • User Registration: Users can create an account by providing a unique username, a valid email address, and a strong password. The password is required to have at least one capital letter, one special character, one number, and be at least 8 characters long.
  • User Login: Registered users can log in using their username and password to access their profile.
  • Profile Management: Once logged in, users can view their profile, including their "About Me" text, hobbies, education, and skills.
  • Edit Profile: Users can edit their profile information, including updating their "About Me" text, hobbies, education, and skills.
  • Password Visibility Toggle: During registration and login, users can toggle password visibility to ensure they entered the correct password.

Getting Started

  1. Install the required dependencies using npm:
    • npm install
  2. The main code is in App.js filed and styled in App.css file.
  3. To run the Web App locally, execute the following command:
    • npm start

The application will run on http://localhost:3000 in your web browser

Programming Language/Tools Used

The web application is built using the following technologies:

  • React: A popular JavaScript library for building user interfaces.
  • FontAwesome: A library for adding icons to the application.
  • CSS: For styling the application's components.



Assesment Question 2

This is a simple Flask web application that provides user registration, login, and a logout functionality. The application allows users to create an account, log in, and log out.

Setup and Requirements

Before running the application, make sure you have the following requirements installed:

  • Python (3.6 or higher)
  • Flask (1.1.2 or higher)
  • Flask-MySQL (or any other preferred MySQL library)

You can install Flask and other required packages using pip:

  • pip install flask flask-mysqldb

Getting Started

  1. Create a MySQL database named try with the appropriate table structure. You can use the following SQL commands:

    • CREATE DATABASE try;
      USE try;
      CREATE TABLE users (
      id INT AUTO_INCREMENT PRIMARY KEY,
      username VARCHAR(50) NOT NULL UNIQUE,
      password VARCHAR(100) NOT NULL );
  2. Update the MySQL database configuration in the app.py file:

    • app.config['MYSQL_HOST'] = 'localhost'
      app.config['MYSQL_USER'] = 'your_mysql_username'
      app.config['MYSQL_PASSWORD'] = 'your_mysql_password'
      app.config['MYSQL_DB'] = 'try'
      app.config['MYSQL_CURSORCLASS'] = 'DictCursor'
  3. Run the Flask application:

    • python app.py

Programming Language/Tools Used

The web application is built using the following technologies:

  • Python: Core programming language for building the web application. .
  • MYSQL Database: To store the user's data.
  • CSS: For styling the application's components.

intern-assesment-'s People

Contributors

kishwanth21 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.