0.10.2 • Published 4 months ago

@spencejs/spence-config v0.10.2

Weekly downloads
10
License
MIT
Repository
github
Last release
4 months ago

spence - an simple nodejs API Framework

Opinionated API Framework For Fastify and Postgres for FAST coding and EXTREME extensibility

CircleCI codecov Total alerts Language grade: JavaScript

Getting started:

  • creating a table
  • creating a controller
  • subscribe to changes

Philosophy

  • FP first
  • Productivity oriented
  • extensible and flexible. Easy to customize
  • Scalable - monolith are easy, microservices made fun
  • Best practices
    • schemas & comprehensive integration tests are the most effective ways to document and create a maintainable system
  • Performance is important
  • ORMs - only change a db for specialization reasons. The native query language is usually the best What is familiar but of no benefit:
  • DI - IoC & mocking can be done in other ways
  • Classes - (statics, singletons pointless)

Controllers

  • adding extra routes
  • multitenant support

Events

  • why are events important?
  • monoliths
  • rabbit
  • redis
  • errors

Auth

  • api tokens
  • oauth
  • userId

Errors

  • errors & error handling
  • the importance of error reporting & aggregation

Database

  • finders
  • db configuration
  • creating an effect extension

Testing

  • jest only
  • factories & testing
0.10.2

4 months ago

0.10.1

5 months ago

0.10.0

8 months ago

0.9.0

1 year ago

0.9.1

1 year ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.17

3 years ago

0.7.16

3 years ago

0.7.14

3 years ago

0.7.9

3 years ago

0.7.8

3 years ago

0.7.5

4 years ago

0.7.0

4 years ago