next-fullstack-template-ts
v2.0.5
Published
A readymade full stack template with auth and database connection.
Downloads
12
Readme
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.
- get it from Google Cloud Console