Skip to content

YiCChi/time-tracing-api

Repository files navigation

Time-tracing Backend

Dev Environment

Develop

Install dependencies locally:

pnpm i

Then, start the database:

docker-compose up

Then, start the development server:

pnpm run start:dev

Open http://localhost:4000/graphql to check the graphql playground.

Seeding

Use typeorm-fixtures for seeding.

  • add new fixture to ./db/fixtures
  • run pnpm fixtures

Usage of pgAdmin

  • Open http://localhost:8080 and login with account here.
  • Add New Server
  • General
    • Name: time-tracing-api or whatever you like.
  • Connection
    • Host name/address: postgres
    • Port: 5432
    • Maintenance database: develop
    • Username: postgres
    • Password: password
  • Save
  • Servers - time-tracing-api - Database - develop - Schemas - public - Tables.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published