Authentication flow on client/server side:
- SignIn
- SignOut
- RefreshToken
- node(versions 14.x.x or later)
- npm(versions 5.x.x or later)
Clone the project:
git clone https://github.com/MarcosSantosDev/nextauth.git
Install the dependencies:
npm install
To run the application in development mode, run the command below:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To generate the application build, run the command below:
npm run build
To run the application on top of the build, in production mode, run the command below:
npm run start
- Clone this repository.
- Create a branch:
git checkout -b <type>/<branch_name>
- Make your changes and confirm them:
- Common commit message:
git commit -m "<type>: message"
- To commit with commitizen(commit message formatter):
npm run commit
- Push to original branch:
git push
- Create the pull request to
development
branch.
Make with ❤️ by Marcos Santos