Skip to content

sc372/simple-blog-app-react-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-blog-app-react-node

React.js 와 Node.js 로 구현한 간단한 블로그 웹 애플리케이션 입니다.


  • 진행 방식은 issue 를 등록하고 issue 를 해결하는 방식입니다.

  • 브랜치 명은 다음과 같은 방식입니다.

    • (front or back) / 내용
  • 커밋 메세지는 다음과 같은 방식입니다.

    • [(브랜치명) / (feature,fix...)] 커밋 메세지 (# no.issue)

quick start

  • 필수 조건(require)

    • node.js (10.15.3)
    • postgresql
  • 데이터베이스 세팅 (database setting with ubuntu 18.04)

 $> sudo su postgres
 postgres@~$ psql
 postgres=# create user test password 'test'; // 데이터 베이스 유저 생성
 postgres=# create database simple_blog owner test;  // 데이터 베이스 생성
 postgres=# \c simple_blog  // 데이터 베이스 접근
 simple_blog=# CREATE EXTENSION IF NOT EXISTS "uuid-ossp";  // UUID auto generate 위한 세팅
  • .env 추가(backend)
 $> cd backend  // root path 기준 
 $> touch .env
# server port
PORT=8080

# postgresql settings
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=test
DATABASE_PASSWORD=test
DATABASE_NAME=simple_blog
DATABASE_MAX_TRY_RECONNECT=5
DATABASE_RECONNECT_SECONDS=10

# jwt secret
JWT_SECRET=test123

  • backend dev 서버 구동(backend dev server start)
$> cd backend  // root path 기준 
$> yarn && yarn dev  // npm install && npm run dev
  • frontend dev 서버 구동(frontend dev server start)
$> cd frontend  // root path 기준 
$> yarn && yarn dev  // npm install && npm run dev

프로젝트에 대한 상세한 내용은 Wiki 문서에 작성해 두었습니다.

요구사항 (requirements)

개발 일정 (schedule)

와이어 프레임 (wire frame)

데이터 모델링 (data modeling)

프론트엔드 (frontend)

백엔드 (backend)

About

Simple blog application with react.js, typescript and node.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published