Thanks to visit codestin.com
Credit goes to github.com

Skip to content

thexeromin/quizo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quizo

Overview

This project consists of two directories:

  • client: A React application.
  • server: A Node.js application using TypeScript.

Prerequisites

Ensure you have the following installed:

  • Node.js (LTS version recommended)
  • npm (or yarn/pnpm)

Setup Instructions

1. Clone the Repository

git clone https://github.com/thexeromin/quizo.git
cd quizo

2. Environment Variables

Create a .env file in both the client and server directories. Example:

client/.env

VITE_API=http://localhost:5000

server/.env

DATABASE_URL=postgres_database_url

3. Install Dependencies

Client

cd client
npm install  # or pnpm install / yarn install

Server

cd ../server
npm install  # or pnpm install / yarn install

4. Run the Applications

Start the Server

cd server
npm run dev  # or pnpm run dev / yarn dev

Start the Client

cd ../client
npm run dev  # or pnpm run dev / yarn dev

The client will be available at http://localhost:5173 (default Vite port).

Build for Production

Client

cd client
npm run build

Server

cd server
npm run build

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published