Skip to content

cjvrd/project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Contact App

A simple full‑stack example app for collecting and managing contact requests.

  • Frontend: React, React Router, Tanstack Query, Tailwind
  • Backend: Node.js, Express, Kysely
  • Database: Postgres via Prisma schema (Kysely types generated with prisma‑kysely)

Quick start with Docker

Prerequisites:

  • Docker Desktop or Docker Engine

Clone the repo:

git clone https://github.com/cjvrd/project-template.git

Open the repo folder:

cd project-template

Build the docker containers:

docker compose up --build

For development with auto-reload on file changes:

docker compose watch

Then open:

API

Base URL: http://localhost:3000

  • GET /contacts — list all contacts
  • POST /contacts — create a new contact
  • DELETE /contacts/:id — soft delete contact (status=DELETED)
  • PATCH /contacts/:id — verify contact (verified=true)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published