Skip to content

commonknowledge/ts-mapped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-stack Typescript Mapped

Local Setup

Requirements

  • Docker
  • NodeJS v22+

For Tests

  • jq (Installed by default on MacOS)

Instructions

  1. Download local.env from BitWarden "TypeScript Mapped" item. Place it in the root of the project as .env.
  2. Get a database dump from the maintainer of this repo and place it in the root of the project as ts-mapped.psql.
  3. Start the database with docker compose up
  4. Import the database dump with docker compose exec -u postgres -T postgres psql < ts-mapped.psql
  5. Install dependencies with npm i
  6. Start the server with npm run dev
  7. View the site at http://localhost:3000
  8. Log in with username [email protected] and password 1234.

Seed Data

The SQL import includes the following:

Migrations

  • Create with npm run kysely migrate:make [name]
  • Run with npm run kysely migrate:latest

Commands

  • The Commander library has been used to create a CLI for this project.
  • Add commands to bin/cmd.ts.
  • Run commands with npm run cmd -- [command] [...args]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages