-
Installation of Node Version Manager
- For Mac/Linux: Refer to the GitHub on how to install node version manager (GitHub)
- For Windows: Refer to the Github nvm-windows (Github) and download nvm-setup.exe under "Assets"
-
At the time of writing, Project Sabai no longer works with the latest version of
node.js. Instead, the latest working version seems to be24.11.0. If not, use20.17.0as specified in package.json.# Install the latest version of node.js nvm install 24.11.0 # Verify that you have installed node correctly node -v # Verify npm is installed npm -v
-
Installation of pnpm https://pnpm.io/installation:
Next, install pnpm:
# Installing pnpm npm install -g pnpm # Verify installation pnpm --version
-
Environmental Setup
Create a new
.envand fill it with relevant details under the "FRONTEND" heading in the "Key Credentials" document. -
Installation of project libraries
Note: If you are converting from yarn to pnpm, you will need to delete the existing
node_modulesfolder.# Install the necessary libraries for the project pnpm i # Run the development server. Ensure backend server is already running pnpm dev
*Make sure you set up both the Frontend AND Backend before logging into localhost.
Log into localhost with the credentials in the "Key Credentials" document.
- Node Version Manager [https://github.com/nvm-sh/nvm]
- Node.js [https://nodejs.org/en]
- Node Package Manager [https://www.npmjs.com/]
- pnpm [https://pnpm.io/]
- React.js [https://react.dev/]
- Next.js [https://nextjs.org/]
- Axios [https://axios-http.com/docs/intro]
- Auth0 [https://auth0.com/]