Coder Social home page Coder Social logo

layered-architecture-induwara's Introduction

Layered Architecture Project

Welcome to the Layered Architecture project! This project is developed for educational purposes, specifically to teach Layered Architecture concepts to students in the GDSE program at IJSE.

Overview

This project is designed to demonstrate the principles of layered architecture, a common architectural pattern used in software development. The project showcases the separation of concerns and modularity by dividing the application into distinct layers.

Table of Contents

Features

  • Layered Architecture: The project follows a layered architecture pattern, emphasizing the separation of concerns.
  • Educational Purpose: Developed to help GDSE students understand and apply layered architecture concepts.
  • Modularity: Each layer is designed to be modular and independent, facilitating ease of maintenance and scalability.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Java Development Kit 11 (JDK) installed.
  • Integrated Development Environment (IDE) like IntelliJ IDEA or Eclipse.
  • Git for version control.
  • MySQL or another relational database management system installed.

Database Setup

  1. Create Database: Open your preferred MySQL client and execute the following SQL command to create the "company" database:

    CREATE DATABASE IF NOT EXISTS company;
  2. Run SQL Script: Locate the SQL file named init_database.sql in the resources folder. Run this script in your MySQL client to initialize the database with required tables and data.

Installation

  1. Clone the repository:

    git clone https://github.com/udarasan/layered-architecture.git
  2. Open the project in your IDE.

  3. Build and run the application.

Project Structure (Initial)

layered-architecture/
|-- src/
|   |-- main/
|       |-- java/
|           |-- com/
|               |-- example/
|                   |-- layeredarchitecture/
|                       |-- controller/      
|                       |-- db/    
|                       |-- view/         
|                       |-- model/               
|-- resources/
|   |-- company-db.sql                        # SQL script to initialize the "company" database
|-- README.md
|-- .gitignore
|-- LICENSE
|-- ...

Usage

To run the project, follow these steps:

  1. Open the project in your IDE.
  2. Build and run the application.

For detailed usage instructions or examples, refer to the documentation provided in each layer's package.

License

This project is licensed under the MIT License.

layered-architecture-induwara's People

Contributors

malintha-induwara avatar

Stargazers

 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.