Skip to content

polats/next-auth-profile-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Next Auth Profile Extension for Scaffold ETH

This extension adds a profile and registration page for builders using Next Auth and EIP 712

It can be used as a starting point for user management and authentication, and borrows heavily from BuidlGuidl's own Extensions Hackathon project.

Requirements

Before you begin, you need to install the following tools:

Development Quickstart

  1. Install dependencies
yarn install
  1. Spin up the Postgres database service + create database + seed
docker-compose up -d
yarn drizzle-kit push
yarn seed

See more info about the database in the section below

  1. Start your NextJS app:
yarn start

Visit your app on: http://localhost:3000.

Database (dev info)

We are using Drizzle with Postgres. You can run drizzle-kit from the root with yarn drizzle-kit

  • To sync your database run yarn drizzle-kit migrate
  • Tweak seed.js if needed + run yarn seed (will delete existing data)

To iterate on the database:

  • Tweak the schema in schema.ts
  • yarn drizzle-kit generate to create migration files (or use yarn drizzle-kit push if you are just tinkering)

You can explore the database with yarn drizzle-kit studio

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors