https://github.com/oslavdev/typeorm-node-server
A simple graphql express server with typeorm and postgres. Just exploring different setups and possibilities.
https://github.com/oslavdev/typeorm-node-server
Last synced: 11 months ago
JSON representation
A simple graphql express server with typeorm and postgres. Just exploring different setups and possibilities.
- Host: GitHub
- URL: https://github.com/oslavdev/typeorm-node-server
- Owner: oslavdev
- Created: 2022-11-07T09:59:04.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-07T10:09:44.000Z (about 3 years ago)
- Last Synced: 2025-01-24T05:11:35.508Z (about 1 year ago)
- Language: TypeScript
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Typeorm Server
### Run
Copy .env.example to .env and change evnironment variables to your liking
```sh
docker-compose up
or
yarn
yarn dev
```
Server will run on http://localhost:7100
GraphQl playground http://localhost:7100/graphql
**DEFAULT CLIENT HOST:** http://localhost:8080/
### Environments
See: .env.example
### Testing
```sh
$ yarn test
```
**For coverage**
```sh
$ yarn test:coverage
```
**Update snapshots**
```sh
$ yarn test:update
```