Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tasoskakour/node-typescript-server-template
📡 Server template using Fastify + Mercurius Graphql
https://github.com/tasoskakour/node-typescript-server-template
Last synced: about 1 month ago
JSON representation
📡 Server template using Fastify + Mercurius Graphql
- Host: GitHub
- URL: https://github.com/tasoskakour/node-typescript-server-template
- Owner: tasoskakour
- License: mit
- Created: 2021-05-08T11:30:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T06:50:34.000Z (almost 3 years ago)
- Last Synced: 2023-03-02T23:40:54.638Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 387 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-typescript-server-template
> Typescript Node server template using [fastify](https://www.fastify.io/), [mongoose](https://mongoosejs.com/), [ava](https://avajs.dev/), [graphql](https://graphql.org/), [mercurius](https://mercurius.dev/#/), [graphql-compose](https://graphql-compose.github.io/), [eslint](https://eslint.org/), [Sentry](https://sentry.io/welcome/), [nodemon](https://nodemon.io/), code coverage and other stuff
[![build](https://img.shields.io/github/workflow/status/tasoskakour/node-typescript-server-template/ci?style=flat&logo=github&label=)](https://github.com/tasoskakour/node-typescript-server-template/actions) [![style](https://img.shields.io/badge/tasoskakour.com-blueviolet.svg?style=flat)](https://tasoskakour.com)
## Use this template- Update [`package.json`](./package.json) with your info.
- Update [`LICENSE`](./LICENSE) with your info.
- Load environment variables based on [`.env.sample`](./.env.sample). I prefer to load them with [.envrc](https://direnv.net/)
- Delete this section from README and update the rest accordingly.## Prerequisites
- node >= 14
## Install
```sh
$ yarn
```## Usage
```sh
$ yarn start
```## Run tests
```sh
$ yarn test
```## Development
```sh
$ yarn dev
```🥰 Big props to my buddy Napoleon, as this repo is heavily influenced from his own [nodejs-server-template](https://github.com/iamnapo/nodejs-server-template).