GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TEAM-README/Readme-Server: ReadMe | 우리들의 독서기록 서비스 :books:

BranchesTags
Open more actions menu

Latest commit

 

History

198 Commits
198 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
src
src
 
 
test
test
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
README.md
README.md
 
 
appspec.yml
appspec.yml
 
 
nest-cli.json
nest-cli.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
pull_request_template.md
pull_request_template.md
 
 
tsconfig.build.json
tsconfig.build.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Readme-Server

우리들의 독서 기록 서비스, ReadMe

Readme_Poster

타인의 마음을 울린 문장과 느낀 점을 읽고, 기록을 통해 나를 읽는 서비스

SOPT 30th SOPT-Term

프로젝트 기간: 2022.03.21 ~ 2022.05.15

🛠 Development Environment

Typescript NodeJS Nest PostgreSQL AWS

🧑‍💻 Developers

김은지 심정욱 김영권 주효식
eunji8784 junguksim youngkwon02 HYOSITIVE

How to migrate

  1. npm run typeorm:migration:create -n <Migration name> 명령어를 통해서 migration 파일을 생성한다. 이름은 CreateFoodTable 같이, 해당 Migration 을 통해 이루고자 하는 목적을 토대로 짓는다.
  2. 그럼 root directory 에 1657358615321-CreateFoodTable.ts 같이 <타임스탬프>-<MigrationName> 형태의 파일이 생긴다.
  3. Migration 파일의 up 함수에 await queryRunner.메서드 를 통해 다양한 DB 작업을 실행할 수 있다.
    1. 예를 들어, CreateFoodTable 의 경우는
    await queryRunner.query(`CREATE TABLE Food ~~~~`);
  4. down 함수는 revert 가 필요할 때 실행된다. up 함수에서 했던 것을 지워주는 형태로 하면 작성하면 된다.
    1. 예를 들어, CreateFoodTable 의 경우는
    await queryRunner.query(`DROP TABLE Food`);
  5. up 함수를 실행하려면, npm run typeorm:migration:up
  6. down 함수를 실행하려면, npm run typeorm:migration:down

About

ReadMe | 우리들의 독서기록 서비스 📚

Topics

nestjsnodejspostgresqltypeormtypescript

Resources

Readme
Activity
Custom properties

Stars

8 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.