Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```