Prerequisites
Before installing the project, ensure you have the following installed:- Node.js (version 18 or higher)
- npm (comes with Node.js)
- PostgreSQL (version 12 or higher)
- Git
Installation Steps
Install frontend dependencies
Install all required dependencies for the React frontend:This will install all packages listed in
package.json including:- React & React DOM
- Vite (build tool)
- TailwindCSS
- shadcn/ui components
- React Query for data fetching
- React Hook Form for forms
Install backend dependencies
Install dependencies for the Express backend:Or manually:This installs:
- Express.js server
- Prisma ORM
- PostgreSQL client
- Resend (email service)
- JWT authentication
Configure environment variables
Copy the example environment file and configure it:See Environment Setup for detailed configuration.
Run database migrations
Apply database migrations to set up your schema:
This creates the
Project table and other necessary database structures.Next Steps
After installation, proceed to:- Environment Setup - Configure environment variables
- Development - Start developing locally
Troubleshooting
Node version issues
If you encounter Node.js version issues, usenvm to install the correct version:
PostgreSQL connection errors
Ensure PostgreSQL is running:Permission errors
If you encounter permission errors duringnpm install, avoid using sudo. Instead, configure npm to use a different directory:
