Skip to content

전남대학교 지능정보시스템 연구실 홈페이지

Notifications You must be signed in to change notification settings

bmil-jnu/lab-homepage

Repository files navigation

실험실 웹사이트

사용전 필요한 툴

Install

git clone https://github.com/ai-lab-jnu/lab-homepage
cd lab-homepage
npm install 
npm start

Note: 원본 Github URL : https://github.com/jbj616/laboratory-website

파일 구성

  • Include : 중복 요소
    • footer : 메뉴반 하단 footer
    • head : meta 정보
    • header : 상단 제목
    • script : js 스크립트파일
    • sidebar : 메뉴바
  • Page
    • Member
      • Prefessor / Member
    • Research
      • Method / Projects
    • Home
    • Introduce
    • Lecture
    • PatentsPage
    • Publications

모든 페이지관련 소스코드는 HTML 문법으로 작성하였습니다.

페이지 렌더링 및 배포 방법

//Lecture
app.get("/lecture", (req, res) => {
  res.render("page/LecturePage");
});

nodejs 설정

App.js 파일에 Node.js 에 관련 모든 설정 및 소스코드가 있습니다.

사용한 모듈

const express = require("express"); // 라우터
const http = require("http"); // http
const expressErrorHandler = require("express-error-handler"); // error 처리를 윈한 라이브러리
const static = require("serve-static"); // 정적 파일 접근을 위한 라이브러리
const fs = require("fs"); //  파일 읽고 쓰기 라이브러리
const path = require("path"); // 경로 관련 라이브러리
const logger = require("morgan"); // log 
const favicon = require('express-favicon');  // favicon 등록 라이브러리

About

전남대학교 지능정보시스템 연구실 홈페이지

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published