npm.io
0.1.0 • Published yesterday

@nextastic/redis

Licence
MIT
Version
0.1.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
2

Nextastic

Toolkit for self-managed Next.js apps.

Nextastic aims to provide the tools required to run Next.js in a managed environment, just like people have been doing for PHP apps for the last 20 years:

  • regular sql db
  • redis cache
  • file logging
  • queues / jobs

Motivation

Serverless is great, but we're starting to see some of it's downsides: astronomical usage costs, complexity in managing 3-4 separate services and vendor lock-in, lack of flexibility, performance bottlenecks.

If you attempted to run a Next.js app on your own servers (self-managed), you'll quickly realize that Next.js is missing a ton of features to do this. This tweet by Taylor (creator of Laravel) sums it up nicely:

CleanShot 2024-09-07 at 15 44 20@2x

Design goals

  • opt-in everything via packages
  • avoid vendor lock-in
  • favor explicit over implicit. This deviates from the convention over configuration approach that Laravel / Rails favors.
  • Avoid DSL

To Do

  • DB query builder & migration
  • Routes and form validation
  • Storage (File system)
  • Queues and jobs
  • Logging system
  • Authentication & Authorization
  • Mail
  • Cache