Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/marcelovicentegc/fullstack-typescript

Typescript, React, MobX, Express, GraphQL and TypeORM monorepo.
https://github.com/marcelovicentegc/fullstack-typescript

fullstack-typescript graphql jest mobx monorepo react testing-library typescript typescript-boilerplate

Last synced: 12 days ago
JSON representation

Typescript, React, MobX, Express, GraphQL and TypeORM monorepo.

Awesome Lists containing this project

README

        

# 🈵 fullstack-typescript

[![Build Status](https://dev.azure.com/marcelovicentegc/public-pipes/_apis/build/status/marcelovicentegc.fullstack-typescript?branchName=master)](https://dev.azure.com/marcelovicentegc/public-pipes/_build/latest?definitionId=2&branchName=master)
[![Main workflow](https://github.com/marcelovicentegc/fullstack-typescript/workflows/Main%20workflow/badge.svg)](<(https://github.com/marcelovicentegc/fullstack-typescript/workflows/Main%20workflow/badge.svg)>)

## 📦 General features

- Hot module and live reload
- File upload ready

## 💻 Client-side features

- UI framework:

1. **React**

- Style pre-processor:

1. **SASS**

- State management:

1. **MobX**

- GraphQL client:

1. **Apollo Client**

- Testing framework:

1. **Jest**
2. **Testing-library**

## 🖥 Server-side features

- HTTP server:

1. **Express**

- GraphQL server:

1. **Apollo Server**

- Database:

1. **PostgreSQL**

- Object-relational mapping framework:

1. **TypeORM**

- Data query and manipulation framework:

1. **GraphQL**

## 🌱 Directions

1. Clone this repo: `git clone https://github.com/marcelovicentegc/fullstack-typescript.git`
2. Change directory: `cd fullstack-typescript`
3. Install dependencies: `yarn install` or `npm install`
4. Create a Postgres database and set your credentials on a `ormconfig.json` file, similar to `ormconfig.example.json`
5. Run the application: `yarn start` or `npm run start`

### Environment variables

- Client TCP: `CLIENT_TCP`
- Server TCP: `SERVER_TCP`
- Environment: `ENV`

By default, the client runs on port `4000` and the server on port `8080`.