Quick start

  • Download from Github or clone the repo: git clone https://github.com/Donstesh/Messages-UI-frontEnd-React.git

  • Make sure your Node.js and npm versions are up to date for React 18

  • Install dependencies: npm install or yarn

  • Start the server: npm run dev or yarn dev

  • Views are on: localhost:3000

Setup authentication (optional)

  1. Sign in on Zalter Dashboard (https://dashboard.zalter.com) and create your Zalter project.

  2. Open your project settings and activate Email Magic Link authentication. This authentication method requires redirect URIs setup, so while in development you need to add http://localhost:3000/sign-in/confirm. For production replace localhost:3000 with your own domain.

  3. Copy .env.example file and rename it to .env

  4. Open .env file and enable the Zalter authentication, then set your own Zalter project ID.

NEXT_PUBLIC_ENABLE_ZALTER_AUTH="true"
NEXT_PUBLIC_ZALTER_PROJECT_ID="<your-project-id>"