Skip to content
KotyaryaPublic

About

Full-stack online school demo built with React, TypeScript and Vite, backed by a production Express API.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

CreateX Online School

Frontend CI

Responsive React frontend for a full-stack online-school demo. Visitors can browse courses, events and articles, filter catalogues, open detail pages, submit contact/registration forms, and create or access a demo account.

Live demo: createx-maksym-aksamitnyi.vercel.app

Production API: createx-api-maksym.onrender.com/api/health

Stack

  • React 18, TypeScript and Vite
  • Redux + Redux Thunk
  • React Router
  • React Hook Form
  • SCSS modules
  • Vitest and Testing Library

The API lives in Kotyarya/CreateX-API. The frontend expects that service at http://localhost:8000/api by default.

Local setup

Requirements: Node.js 24 and npm.

git clone https://github.com/Kotyarya/CreateX.git
cd CreateX
cp .env.example .env.local
npm ci --legacy-peer-deps
npm run dev

Open http://localhost:3000.

Environment variables:

Variable Purpose
VITE_API_URL REST API base URL, including /api
VITE_ASSET_URL Backend base URL used for uploaded images and audio

Quality checks

npm run lint
npm test
npm run build
npm audit --omit=dev

GitHub Actions runs the same checks on every pull request and push to main.

Main flows

  • course catalogue, category filtering, search and course details;
  • events catalogue and event details;
  • blog catalogue and article/podcast/video details;
  • contact, course/event registration and newsletter forms;
  • account registration and login.

Architecture

flowchart LR
  Browser[React SPA] --> Store[Redux store]
  Store --> API[Axios API clients]
  API --> Server[CreateX Express API]
  Server --> DB[(PostgreSQL)]
  Server --> Forms[(Form submissions)]
  Server --> Media[Static media]
Loading

The repository root is the deployable application root. For static hosting, publish dist/ and route unknown paths to index.html.

About

Full-stack online school demo built with React, TypeScript and Vite, backed by a production Express API.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages