Home

Awesome

<div align="center"> <img src="https://github.com/user-attachments/assets/cc3cc768-9ee4-4c9b-b108-4c0979acbee8" alt="image" height="144"/> <br /> <strong>T</strong>rpc <strong>E</strong>xpress <strong>R</strong>eact </div> <h1 align="center"><strong>Boilerplate for a Fullstack App with authentication</strong></h1>

Project

GitHub issues GitHub forks GitHub stars GitHub license price paypal

Twitter

Main Stack

Demo

<a href="https://client.ter.work.gd/" > <img width="150" alt="Demo TER" src="https://github.com/user-attachments/assets/b343633f-237a-4377-b8be-114185103645"> </a>

Hosted by render.com for free

Preview

ter-preview

Other Libraries

Features

Installation

psql -U user // replace user by your postgres user
CREATE DATABASE ter;
// Install the dependencies
npm i

// Setup the database
npm run push

// Seed the database
npm run seed

// Run the app (it will run the client and the server automatically)
npm run dev

Building for production

npm run build
npm run start

Printscreens

<img width="1240" alt="Ter - Home" src="https://github.com/user-attachments/assets/03327d88-bcc6-482b-832e-bd5433756aa0"> <img width="1240" alt="Ter - Login" src="https://github.com/user-attachments/assets/cc229157-7066-427d-ae53-c7b3a280d835"> <img width="1240" alt="Ter - Signup" src="https://github.com/user-attachments/assets/41cc01de-5296-46a3-8cc3-4e37651d383b"> <img width="1240" alt="Ter - Profile" src="https://github.com/user-attachments/assets/c7233558-0e8f-4d53-87e7-77db87101677"> <img width="1240" alt="Ter - Users" src="https://github.com/user-attachments/assets/121c11d3-1dc7-41a8-92f7-63ac9ca437a3"> <img width="1240" alt="Ter - Devices" src="https://github.com/user-attachments/assets/10bd71cb-406b-4989-83aa-20fd5ce32e9b"> <img width="1240" alt="Ter - Beers" src="https://github.com/user-attachments/assets/a99d8da4-9c9f-41f5-9aae-040ce7fe5e91">

Health Check for the server (http://localhost:2022/health)

<img width="431" alt="Health Check" src="https://github.com/user-attachments/assets/c6153606-5011-4717-911a-afdb63ecc4c0">

Motivation

Focusing on developer experience: simple, efficient, and fast. This modern stack uses top-tier libraries to build a full-stack web application. Unlike the T3 app (https://create.t3.gg), we opted not to use Next.js, allowing the frontend to remain as static files, easily stored in cloud object storage like AWS S3. Consequently, this stack is designed for building web apps rather than traditional websites, as it is not SEO-friendly.

End-to-end typesafe with Trpc

trpc-video-ter Video from https://trpc.io

E2E Testing

The tests must be run while the app is running.

Running the tests in the Terminal

npm run test:e2e

Other recommendations

Who is using TER?

Create a PR if you want to add your project here.

Miscellaneous

Discover the details of this project in

<div align="center"> <a href="https://buymeacoffee.com/fullstackter"> <img width="300" alt="bmc-button" src="https://github.com/user-attachments/assets/f384fb79-52ed-4c25-bbc1-ae640385f5e4"> </a> </div> <div align="center"> <a href="https://buymeacoffee.com/fullstackter"> <img src="https://github.com/user-attachments/assets/c9ce1733-4002-44a9-9ab3-a3bc365b3648" alt="image" width="300"/> </a> </div> <sub> <sub> A "TER" in France stands for "Train Express Régional." It's a regional rail network that provides a vital service connecting smaller towns and cities across various regions to larger urban centers. Managed by SNCF, the French national railway company, TERs are often used for commuting to work, school, or for regional travel, offering an efficient and environmentally friendly alternative to driving. The trains vary in frequency and speed, depending on the region and the distances they cover. </sub> </sub>