0.10.2 • Published 5 months ago

@spencejs/spence-api v0.10.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 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 - (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

5 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.18

2 years ago

0.7.17

3 years ago

0.7.16

3 years ago

0.7.15

3 years ago

0.7.14

3 years ago

0.7.13

3 years ago

0.7.12

3 years ago

0.7.11

3 years ago

0.7.10

3 years ago

0.7.9

3 years ago

0.7.8

3 years ago

0.7.7

4 years ago

0.7.6

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago