2.0.3 • Published 3 years ago

ceos v2.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

CEOS

Opinionated graphql server based on TypeDI, TypeORM, and TypeGraphQL

Usage

  1. Install dependencies: yarn add ceos
  2. Install dev dependencies: yarn add -D dotenv nodemon ts-node tslint typescript
  3. Set up start script: node --inspect=5858 -r dotenv/config -r ts-node/register ./src/index.ts
  4. Set up the environment variables in .env (see below)

Configuration Variables

  • PORT: The listening port of the server
  • DB: Database configuration: postgres://postgres@[SERVER]:5432/[DATABASE]
  • DB_SYNC: Automatically synchronize database models
  • MAIL: Mail configuration: smtp://[USER]:[PASSWORD]@[HOST]:[PORT]
  • MAIL_FROM: Sender email

Examples

See examples/ for examples how to use ceos.

Development

Release a new version:

  1. Run tests: yarn lint
  2. Bump the package version to the desired new version: yarn version
  3. Commit and push: git add package.json & git commit -m "bumped to $TAG" & git push
  4. Create a new branch: git checkout -b release
  5. Build the library: yarn build
  6. Add dist files: git add -f dist & git commit -m "added distribution files"
  7. Create git tag: git tag $TAG & git push --tags
  8. Publish the library: npm publish
  9. Clean up: git checkout master & git branch -f --delete release
2.0.3

3 years ago

2.0.2

4 years ago

2.0.0

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago