You must have the stealth backend running locally on port 8080 connect to a postgres database.
- Generate a secret for nextAuth. You can copy/paste the code below in your terminal to get a random secret
openssl rand -hex 32
- Create a copy the .env.sample to .env.local
cp .env.sample .env.local
Replace the NEXTAUTH_SECRET
in the .env.local file with the secret you just generated
- Install the dependencies
yarn install
- First, run the development server:
yarn dev
- Open http://localhost:3000 with your browser to see the result.
Note: To activate an account on local, get the activation key from the db and append it to this link like so: http://localhost:3000/account/activate?key=<your_activation_key>