next-fullstack-template-ts

2.0.5 • Public • Published

NEXT-FULLSTACK-TEMPLATE-TS

next-fullstack-template-ts is an NPM package that helps developers quickly set up authentication using next-auth without any code or very minimum code (only updating ".env"). You can anytime update the generated files.

Installation

To install the package, run the following command:

  • npx create-next-app appName (keep typescript, src, app directory while installing)
  • cd appName
  • npm install next-fullstack-template-ts
  • npx template generate

Please Note - write (y/n) according to the requirements in terminal if asked to

Setup

Above scripts will generate few folders and files. In .env, update the fields with your own credentials

Features

  • Sets up Database automatically.
  • Creates an initial login and register route that can be updated later on.
  • Prompts to overwrite existing files or skip them.

Getting the Google Client Secret.

/next-fullstack-template-ts/

    Package Sidebar

    Install

    npm i next-fullstack-template-ts

    Weekly Downloads

    0

    Version

    2.0.5

    License

    ISC

    Unpacked Size

    15.4 kB

    Total Files

    3

    Last publish

    Collaborators

    • shubhradip