Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baralmanish/easy-travel-node-graphql
GraphQL api build on top of node. Techs used: Docker, PostgreSQL
https://github.com/baralmanish/easy-travel-node-graphql
docker graphql node postgresql typescript unit-testing
Last synced: 7 days ago
JSON representation
GraphQL api build on top of node. Techs used: Docker, PostgreSQL
- Host: GitHub
- URL: https://github.com/baralmanish/easy-travel-node-graphql
- Owner: baralmanish
- Created: 2024-07-12T09:19:53.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T09:25:03.000Z (6 months ago)
- Last Synced: 2024-11-16T07:25:08.424Z (2 months ago)
- Topics: docker, graphql, node, postgresql, typescript, unit-testing
- Language: TypeScript
- Homepage:
- Size: 316 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Easy Travel GraphQL API Server
EasyTravel is a small travel company based in Germany, which provides unique travel and vacation products. The company collaborates with its aviation and hotel partners to bring up their unique offerings.
## Project Setup
```sh
npm install
```## Docker for Local Development
Docker is needed to be installed on your local machine.
### Start Docker and Compile and Hot-Reload for Development
```sh
docker compose up -d
```### Stop Docker
```sh
docker compose down
```### SSH into docker container
In order run the commands you need to ssh into docker and then you can run commands for testing, seeding, etc.
```sh
docker compose run app /bin/bash
```### Seed the database
```sh
npm run seed
```### Run Unit Tests with [Jest](https://jestjs.io/)
```sh
npm run test
```### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```