✨ 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 Agents
AI Video Generator
258 2302
Verified Icon
AI Assistants
Speech to Text
139 2196
AI Characters
Sarcastic AI Chat Bot
129 2038
AI Assistants
Talk with Claude 3
160 2068
AI Image Generation
Image Generation with Stable Diffusion
117 1205

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.