Skip to content

2ssunny/Questions_Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Questions_Generator

A full-stack questions generator application with separate frontend, backend, and API services.

Project Structure

The project is organized into three main folders:

1. Frontend

  • Technology: Vite + React + TypeScript
  • Location: ./Frontend
  • Setup:
    cd Frontend
    npm install
    npm run dev
  • Build: npm run build
  • Development Server: Runs on http://localhost:5173

2. Backend

  • Technology: Express + TypeScript
  • Location: ./Backend
  • Setup:
    cd Backend
    npm install
    npm run dev
  • Build: npm run build
  • Production: npm start
  • Development Server: Runs on http://localhost:3000

3. fastapi

  • Technology: Python FastAPI
  • Location: ./fastapi
  • Setup:
    cd fastapi
    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
    uvicorn main:app --reload
  • Development Server: Runs on http://localhost:8000
  • API Documentation: Available at http://localhost:8000/docs

Getting Started

  1. Clone the repository
  2. Follow the setup instructions for each service you want to run
  3. Each service can run independently

Development

  • Frontend uses hot module replacement (HMR) for rapid development
  • Backend uses nodemon for automatic server restarts
  • FastAPI uses uvicorn with reload for automatic reloading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors