This project consists of two directories:
- client: A React application.
- server: A Node.js application using TypeScript.
Ensure you have the following installed:
git clone https://github.com/thexeromin/quizo.git
cd quizoCreate a .env file in both the client and server directories. Example:
VITE_API=http://localhost:5000
DATABASE_URL=postgres_database_url
cd client
npm install # or pnpm install / yarn installcd ../server
npm install # or pnpm install / yarn installcd server
npm run dev # or pnpm run dev / yarn devcd ../client
npm run dev # or pnpm run dev / yarn devThe client will be available at http://localhost:5173 (default Vite port).
cd client
npm run buildcd server
npm run build