- Notifications
You must be signed in to change notification settings - Fork0
License
pvarki/typescript-liveloki-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- Install docker + compose
- Rename .env_example --> .env and modify as you like.
- Run docker compose build --no-cache
- Run docker compose up -d
- Navigate to localhost:3000
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.
Database is currently preseeded with test data from preseed/preseed.csv
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.
Remove comments from "jwt-test-network" for local jwt testing, to allow joining containers from 2 different compose runs to same docker network.
https://pvarki.github.io/typescript-liveloki-app/
In directorytests, use
npm run test:integration
with the server running inlocalhost:3000 as it does by default afterdocker compose up -d.
About
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.