No updates detected yet. GitHub releases will appear here.
Loading the full README. The saved excerpt is shown below.
This is the frontend for the Directory application, uses Next.js framework and is bootstrapped with create-next-app.
Link to the index repo
This project is using Next.js version 14.2.3.
To learn more about Next.js, take a look at the following resources:
• Next.js Documentation - learn about Next.js features and API.
• Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository
The folder structure of this project is organized as follows:Read the full README ↗This is the frontend for the Directory application, uses Next.js framework and is bootstrapped with create-next-app.
Link to the index repo
This project is using Next.js version 14.2.3.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository
The folder structure of this project is organized as follows:
app/: Contains the main application files, including pages and layout components.
components/: Contains reusable components categorized into:
services/: Contains service files that handle API calls and business logic.
utils/: Utility functions that can be used throughout the application.
analytics/: Contains files related to analytics tracking and reporting.
public/: Contains static assets such as images, fonts, and other resources.
__tests__/: Contains test files for the application. And its maintains the same folder structure as components.
| Name | Type | Purpose | Mandatory |
|---|---|---|---|
| Privy | External | The hybrid auth solution provider for users to login | Yes |
| PostHog | External | For analytics purpose | No |
| Directory Backend | Internal | For communicating to the directory database through REST API | Yes |
| Husky (sandbox mode) | Internal | To leverage the AI assist feature | No |
| PL Auth service (sandbox mode) | Internal | To manage user auth requests and issue tokens, works in OAuth 2.0 standard | Yes |
To install the dependencies use the below command
npm install
Use the below command to create .env using .env.example
cp .env.example .env
Set the env variables based on the instructions provided in the .env.example file.
For local development use the test values mentioned in the comments for each env variable.
Open the terminal and run the following command:
npm run dev
Application will be running on http://localhost:4200
To run the tests, use the following command:
npm run test
Follow the instructions here to setup and run the directory admin frontend.