"TRPC Next JS WebCHAT" is a web app built on top of TRPC and NextJS. It is a simple single chat room where anyone can enter and text and their text will be seen by others .
- Anyone can enter a message into the single (global) room
- Messages are displayed with their timestamp
- typescript for strong type-checking
- trpc for client-api communication with zod for schema validation
- nextjs for react clients and api routes
- MongoDB for storage
The basic requirements for building the executable are:
- A working browser application (Google chrome, Mozilla Fire fox, Microsoft edge ...)
- Have a good knowledge on how to parse UI designs
- Have VSCode or other text editor installed. Link to download VSCode
- Install node package. Link to download node
- Have git installed.Link to download git
- Create a github repository.
To get a local copy up and running follow these simple example steps.
cd
## Getting packages and dependencies
To get all package modules required to build the project run:
npm install or yarn
every package module required to build the project is listed in the package.json file. this is used as a reference to get all dependencies.
## Running
To run the program on a browser through a server run this command in your cli
npm run dev
This should open the page in your localhost on port 3000. then you'd be able to view the built page generated.