Quickstart Guide
Get started with Visita Intelligence Platform by setting up your development environment and running the application locally.1
Step 1: Prerequisites
2
Ensure you have the following installed on your system:
3
4
Need help installing Node.js? Visit the official Node.js website for download instructions.
5
Step 2: Clone the Repository
6
git clone https://github.com/MisterSeitz/visita-intelligence.git
cd visita-intelligence
7
Step 3: Install Dependencies
8
npm install
# or
yarn install
# or
pnpm install
9
This will install all required dependencies including Next.js, Supabase client, Tailwind CSS, and shadcn/ui components.
10
Step 4: Environment Setup
11
Create a
.env.local file in the root directory and add your Supabase configuration:12
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here
# Optional: Additional Services
ALGOLIA_APPLICATION_ID=your-algolia-app-id
ALGOLIA_ADMIN_API_KEY=your-algolia-admin-key
REDIS_URL=your-redis-url
SENTRY_DSN=your-sentry-dsn
MAILGUN_API_KEY=your-mailgun-key
PAYSTACK_SECRET_KEY=your-paystack-key
13
Never commit your
.env.local file to version control. It contains sensitive credentials.14
Step 5: Run the Development Server
15
npm run dev
# or
yarn dev
# or
pnpm dev
16
Open http://localhost:3000 in your browser to see the application.
17
Step 6: Verify Installation
18
You should see:
19
Project Structure
Next Steps
Common Issues
Issue: “Module not found” errors
Solution: Clear your node_modules and reinstall:Issue: Supabase connection errors
Solution: Verify your environment variables are correct in.env.local:
Issue: Port 3000 already in use
Solution: Use a different port:Getting Help
- Documentation: Browse our comprehensive guides
- GitHub Issues: Report bugs or request features
- Community: Join discussions and contribute
Ready to dive deeper? Check out our Architecture Overview to understand how Visita is built.