Skip to content

Latest commit

Β 

History

History
95 lines (74 loc) Β· 1.57 KB

File metadata and controls

95 lines (74 loc) Β· 1.57 KB


REZ
REZ.
Demo


REZ is a request bin which allows you to easily send HTTP requests to a custom endpoint and analyze various data. It was designed to help developers debug and test APIs.



πŸ›  Installation & Set Up

  1. Clone repo

    git clone https://github.com/rodatboat/request-bin.git
  2. Install dependencies

    cd ./
    npm install
    cd ./server
    npm install
  3. Set up environment variables
    DB_URI = API URL
    APP_URI = Client URL

    cd ./
    VITE_DB_URI=http://localhost:5000
    VITE_APP_URI=http://localhost:3000

    MONGO_URL = Mongo connection

    cd ./
    MONGO_URL=mongodb://localhost:27017/rez_db
  4. Start the development server

    cd ./
    npm run dev
    cd ./server
    npm run start

πŸš€ Building and Running for Production

  1. Generate a full static production build

    npm run vercel-build
  2. Preview the site as it will appear once deployed

    npm run preview
  3. When deploying to vercel, set Client Output Directory to

    dist/client
    
  4. When deploying to vercel, set API Root Directory to

    server/