Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

tranthaison1231/typescript-graphql-postgres-boilerplate

 
 

Repository files navigation

Getting started

Database

Make sure you haveDocker installed

Setting up

Commands

To install the database management, run:

docker-compose up -d

To create database, run:

dockerexec -it todo psql -U postgres -c"create database todo"

.env file

  1. Create the.env file
  2. Copy and parse theconnection information below:
DB_USER=postgresDB_HOST=localhostDB_DATABASE=todoDB_PORT=54320

Create tables

Open and run thedatabase/sql/database.sql by postgres tools (i.e.pgAdmin)

Seeding data

dump data

To initialize the dump data fortodo database, run:

npm run seed

Development

To run development environment

npm run dev

Production

To run production environment

npm start

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript95.3%
  • Dockerfile2.6%
  • Shell2.1%

[8]ページ先頭

©2009-2025 Movatter.jp