Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fazt/mern-trpc-crud
MERN Stack CRUD using tRPC
https://github.com/fazt/mern-trpc-crud
express mern-stack mongodb nodejs react trpc typescript
Last synced: 3 days ago
JSON representation
MERN Stack CRUD using tRPC
- Host: GitHub
- URL: https://github.com/fazt/mern-trpc-crud
- Owner: fazt
- Created: 2022-08-14T20:53:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T06:42:30.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T07:46:59.986Z (7 months ago)
- Topics: express, mern-stack, mongodb, nodejs, react, trpc, typescript
- Language: TypeScript
- Homepage:
- Size: 144 KB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### MERN tRPC CRUD
A MERN(Mongodb, Express, React, Node) CRUD application using tRPC as library to communicate frontend and backend using Typescript.
### Installation
* Installation requires a mongodb database connection
```
git clone [email protected]:faztweb/mern-trpc-crud.git
cd mern-trpc-crud
npm i
npm run build # build the frontend and backend
npm start
```
Now you can visit [http://localhost:3000](http://localhost:3000)### Docker (Recommended)
```
git clone [email protected]:faztweb/mern-trpc-crud.git
cd mern-trpc-crud
docker-compose up
```Now you can visit [http://localhost:3000](http://localhost:3000)
### Deployment
```
git clone [email protected]:faztweb/mern-trpc-crud.git
cd mern-trpc-crud
npm i
npm run build:prod
```