Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.19 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.19 KB

This project uses React.js ( bootstrapped with npm create vite@latest ) for frontend and trpc for server.

Getting Started

  1. Setup the UI
  2. Setup the Server

Setup UI:

cd frontend //Go to frontend directory (Execute from share_gram directory)
npm run dev

Open http://localhost:5173 with your browser to see the frontend UI.

Setup the server

cd server // Go to server directory (Execute from share_gram directory) 
npm run dev

This will setup the server at http://localhost:3000

SECRETS

You will need the following pusher secrets:

PUSHER_APP_ID PUSHER_KEY PUSHER_SECRET PUSHER_CLUSTER

The following cloudinary serctes:

CLOUD_NAME CLOUDINARY_API_KEY UPLAOD_PRESET

The following Database ( mongodb ) url secret:

DATABASE_URL

Learn More

To learn more about Next.js, take a look at the following resources: