Code Monkey home page Code Monkey logo

go-lesson's Introduction

Overview

  • Basic of computer
  • How programming work with computer
  • Learn Golang, Nodejs
  • Workshop create OWN elk stack
  • Build web application (database design)

Today 8/9/2019

  • Overview basic of computer & programming
  • Overview Workshop project

Overview of web application

  1. key Url (input) === request to server ===>
  2. receieve request and processing (process) (read data from database)
  3. send response (output) eg.

School web application

  1. student data
  2. class data
  3. student register to class
  4. student schedule class
  5. grade of student

log of school application

  1. response status

database design

Students

  • id (1,2,3,4)
  • name
  • student_id
  • image
  • date_of_birth
  • username
  • password
  • created_date
  • updated_date

Classes

  • id
  • subject_id
  • name
  • created_date
  • updated_date

Class Course

  • id
  • class_id
  • start_date
  • end_date
  • created_date
  • updated_date

class => class_schedule (1 => many)

Class Schedule

  • id
  • class_id
  • day
  • time_start
  • time_end
  • created_date
  • updated_date

Registration

  • id
  • student_id
  • course_id
  • grade
  • point
  • created_date
  • updated_date student => register <= course 1 => M <= 1 (many to many)

Data example

Classes

id name 1 thai language

Class course

id class_id start_date end_date 1 1 1/5/2019 1/11/2019

Class schedule

id course_id day time_start time_end
1 1 Monday 10:00 12:00
2 1 Tuesday 9:00 11:00

Workshop Day2

  • design database

  • collect employee detail

  • separate by employee section

  • collect Leave information of employee

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.