- Hot module and live reload
- File upload ready
-
UI framework:
- React
-
Style pre-processor:
- SASS
-
State management:
- MobX
-
GraphQL client:
- Apollo Client
-
Testing framework:
- Jest
- Testing-library
-
HTTP server:
- Express
-
GraphQL server:
- Apollo Server
-
Database:
- PostgreSQL
-
Object-relational mapping framework:
- TypeORM
-
Data query and manipulation framework:
- GraphQL
- Clone this repo:
git clone https://github.com/marcelovicentegc/fullstack-typescript.git
- Change directory:
cd fullstack-typescript
- Install dependencies:
yarn install
ornpm install
- Create a Postgres database and set your credentials on a
ormconfig.json
file, similar toormconfig.example.json
- Run the application:
yarn start
ornpm run start
- Client TCP:
CLIENT_TCP
- Server TCP:
SERVER_TCP
- Environment:
ENV
By default, the client runs on port 4000
and the server on port 8080
.