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

https://github.com/pdmlab/turborepo-node-react-tailwind-starter

Template to start a Node.js project with express, react, typescript and tailwind using turborepo
https://github.com/pdmlab/turborepo-node-react-tailwind-starter

express monorepo react tailwindcss template turborepo

Last synced: 3 months ago
JSON representation

Template to start a Node.js project with express, react, typescript and tailwind using turborepo

Awesome Lists containing this project

README

          

# turborepo-node-react-tailwind-starter

This repositoy contains a template for a mono-repo to run an API based on express as well as React based frontend.

## Tools used

* Global
* yarn `1.22.17`
* yarn workspaces
* turbo
* docker-compose
* API
* Node.js 16.10.0
* express
* MongoDB
* Frontend
* react
* vite

## Workspaces

Workspaces can exist in these folders:

```text
apps
databases
packages
```

### Predefined workspaces

In this starter kit these workspaces are defined already:

```text
apps
- api
- ui
databases
- todo-database
packages
- config
- tsconfig
- ui-components
```

## Usage

### Setting up a new project using this template

* Create a new repository by clicking the "Use this template" button.
* Checkout your new repository
* Install depedencies using `yarn install`
* Start the stack using `yarn watch`
* Browse [http://localhost:3000](http://localhost:3000)

![Screenshot](assets/2022-01-12-13-49-33.png)
`yarn watch` output

![Screenshot](assets/2022-01-12-15-02-19.png)
`http://localhost:3000` output