Skip to content

Latest commit

 

History

History
66 lines (58 loc) · 1.88 KB

README.md

File metadata and controls

66 lines (58 loc) · 1.88 KB

Orbit

Overview

Full stack social media app with the ability to login and sign up and create and view posts

Directory Structure

orbit/
├── server/
├── client/

Prerequisites

Make sure you have Bun installed on your machine.

Getting Started

Server Setup

  1. Navigate to the Server Directory:
    cd server
  2. Install Dependencies:
    bun install
  3. Run Database Migrations:

    Run the following command to create your database migrations. You can use init or main as the migration name.

    bun prisma migrate dev --name <your-migration-name>

    Replace <your-migration-name> with either init or main.

  4. Start the Server:

    For development:

    bun dev

    For production:

    bun start

Client Setup

  1. Navigate to the Client Directory:
    cd ../client
  2. Install Dependencies:
    bun install
  3. Run the Client:

    For development:

    bun dev
  4. Build the Executable:

    When you're ready to create a production build:

    bun build