Dependencies
This section outlines the technology stack, dependencies, and prerequisites required for setting up and running Residents.
Before setting up and running the Residents app, ensure you have the following prerequisites installed and configured:
-
Node.js: The application is built with Node.js. Make sure you have Node.js installed (version 18.x or later recommended).
-
PostgreSQL: A PostgreSQL database is required. Ensure you have PostgreSQL installed and running, or access to a PostgreSQL instance. Other relational databases could easily be used instead with some minor modifications.
-
npm: The Node.js package manager is used for managing dependencies. It's typically installed with Node.js.
-
Docker (optional): Docker is used for containerization. If you plan to use the Docker setup, make sure Docker is installed on your system.
-
SendGrid Account: For email functionality (e.g., password reset), you'll need a SendGrid account and API key.
-
Google Developer Account (optional): If you want to use Google authentication, you'll need a Google Developer account and API credentials.
-
Environment Variables: The app uses various environment variables for configuration. Make sure to set up your
.env
file based on the provided.env.example
. -
TypeScript: The project is written in TypeScript. While not necessary for running the app, it's required for development.
-
Git: Version control is managed with Git. Ensure you have Git installed if you plan to clone or contribute to the repository.
Before running the app, make sure to install the required npm packages by running:
npm install