✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

HabibiStay

This repository contains the HabibiStay Next.js project.

Setup

  1. Install Node.js (version 18 or newer).
  2. Create environment variables by copying habibistay/.env.example to habibistay/.env and filling in the values.
  3. Install dependencies:
cd habibistay
npm install
  1. Run database migrations (requires PostgreSQL and the DATABASE_URL variable):
npx prisma migrate deploy
  1. Seed the database with sample data (optional):
npm run seed
  1. Start the development server:
npm run dev

Testing

Jest is used for unit and integration tests. After installing dependencies you can run:

npm test

If npm install reports that package.json is missing, use the minimal example below and place it inside the habibistay directory.

{
  "name": "habibistay",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "test": "jest"
  },
  "dependencies": {
    "next": "14.0.4",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "@prisma/client": "5.13.0"
  },
  "devDependencies": {
    "typescript": "5.4.0",
    "jest": "29.7.0",
    "@types/jest": "29.5.11",
    "ts-jest": "29.1.2",
    "prisma": "5.13.0"
  }
}

Note: Installing packages may fail in environments that restrict access to registry.npmjs.org. Ensure your network settings allow access to install dependencies.

Featured Templates

View More
AI Assistants
Image to text with Claude 3
152 1366
Customer service
Multi-language AI Translator
136 921
AI Assistants
AI Chatbot Starter Kit v0.1
140 913
AI Characters
Sarcastic AI Chat Bot
129 1713
Verified Icon
AI Assistants
Speech to Text
137 1882

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.