Git Product home page Git Product logo

bhavyawahie / jdbc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.93 MB

Practice JDBC concepts with this student management CLI app. Perform CRUD operations on student records, connect to a database, create tables, and use prepared statements for enhanced security. Gain hands-on experience with JDBC in a simple and interactive way.

License: MIT License

Java 100.00%
java jdbc jpa mysql maven

jdbc's Introduction

JDBC Student Management App

This repository contains the source code and resources for building a Student Management App using JDBC (Java Database Connectivity). The project is inspired by the crash course provided by the YouTube channel "Learn Code with Durgesh," which can be found here.

JDBC is a Java API that allows Java programs to interact with relational databases. This project leverages JDBC to create a comprehensive student management system that can perform CRUD (Create, Read, Update, Delete) operations on student records stored in a database.

Key Features

  • Connect to a database using JDBC and establish a connection with the database server.
  • Create tables to store student information using SQL statements.
  • Implement functionality to add, retrieve, update, and delete student records in the database.
  • Build a user-friendly command-line interface for interacting with the application.
  • Utilize JDBC prepared statements to prevent SQL injection attacks and enhance security.
  • Perform database CRUD operations with persistance in a running database server.

Getting Started

To get started with the project, follow the step-by-step tutorial provided by Learn Code with Durgesh here. The tutorial covers the basics of JDBC and guides you through the process of building the Student Management App.

Usage

  1. Clone the repository:
git clone https://github.com/your-username/jdbc-student-management-app.git 
  1. Open the project in your favorite Java IDE.

  2. Configure your database connection details in the code, including the database URL, username, and password in a environment variable file (.env).

  3. Run the application and interact with the command-line interface to perform CRUD operations on student records.

Available Commands

  1. ADD - Add a new student to the database.

    ezgif com-video-to-gif (2)

  2. DELETE - Delete a student from the database.

    ezgif com-video-to-gif (3)

  3. UPDATE - Update a student in the database.

    ezgif com-video-to-gif (5)

  4. DISPLAY - Display all students in the database.

    ezgif com-video-to-gif (1)

  5. EXIT - Exit the application.

    ezgif com-video-to-gif (4)

Contributions

Contributions to the project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

jdbc's People

Contributors

bhavyawahie avatar

Stargazers

Prajwal Nivangune 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.