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

License

NotificationsYou must be signed in to change notification settings

pvarki/typescript-liveloki-app

Repository files navigation

Install

  1. Install docker + compose
  2. Rename .env_example --> .env and modify as you like.
  3. Run docker compose build --no-cache
  4. Run docker compose up -d
  5. Navigate to localhost:3000

Frontend development

The frontend is bundled withVite.

Once the backend is running (on port 3000), you can navigate tofrontend/,runnpm i andnpm run dev to run the Vite development server that hashot reload and all that jazz.

Info

Database is currently preseeded with test data from preseed/preseed.csv

Migrations

To add new migration, locally run:./node_modules/.bin/node-pg-migrate create <MIGRATION_NAME> and modify created file in/migrations directory.Migrations are run (if needed) when docker container starts.wait-for-it.sh will ensure that psql container is up and accepting connections before running migrations.

JWT testing

Remove comments from "jwt-test-network" for local jwt testing, to allow joining containers from 2 different compose runs to same docker network.

OpenAPI Specification

https://pvarki.github.io/typescript-liveloki-app/

Running tests

In directorytests, use

npm run test:integration

with the server running inlocalhost:3000 as it does by default afterdocker compose up -d.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp