Skip to content

itsmefdil/yurucamp-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏕️ Yurucamp Indonesia : Unofficial Fanpage

Welcome to the Yurucamp Indonesia project! This is a modern, full-stack web application designed for the camping community in Indonesia. It allows users to discover camping spots, join events, share activities, and connect with other outdoor enthusiasts.

Campfire

🚀 Features

  • Dashboard: Manage your profile, view joined events, and organize your own activities.
  • Activities: Share and explore camping stories and activities.
  • Events: Find and join community camping events (Open Trip, Gathering, etc.).
  • Camp Areas: Discover the best camping spots with detailed information and galleries.
  • Community: Connect with other campers.
  • Auth: Secure authentication with Google and Email.

🛠️ Tech Stack

This project is a Monorepo consisting of a Frontend and a Backend.

Frontend (/frontend)

Backend (/backend)

🏁 Getting Started

Prerequisites

  • Bun (Recommended runtime)
  • Docker (For local database)

Installation

  1. Clone the repository

    git clone https://github.com/itsmefdil/yurucamp-web.git
    cd yurucamp-web
  2. Install Dependencies

    Backend:

    cd backend
    bun install

    Frontend:

    cd ../frontend
    bun install
  3. Environment Setup

    Create .env files in both backend and frontend directories based on .env.example.

    Backend (backend/.env):

    PORT=3000
    DATABASE_URL=postgres://user:password@localhost:5432/yurucamp
    JWT_SECRET=your_secret
    # ... other config

    Frontend (frontend/.env):

    VITE_API_URL=http://localhost:3000
  4. Database Setup

    Ensure your PostgreSQL database is running, then push the schema:

    cd backend
    bun run migrate
    # Optional: Seed data
    bun run seed

🏃 Running Development

Open two terminals used to run the frontend and backend concurrently.

Terminal 1 (Backend):

cd backend
bun run dev

Terminal 2 (Frontend):

cd frontend
bun run dev

Visit http://localhost:5173 to see the app!

📦 Building for Production

Frontend:

cd frontend
bun run build
# Output in frontend/dist

Backend:

cd backend
bun run build
# Output in backend/dist

📄 License

This project is an Unofficial Fanpage and is not affiliated with the official Yuru Camp franchise.

About

Unofficial fans page yurucamp indonesia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages