Jakub Kaniecki 12c76e3e5a init
2025-05-18 16:23:03 +02:00
2025-05-18 16:23:03 +02:00
2025-05-18 16:23:03 +02:00
2025-05-18 16:23:03 +02:00
2025-05-18 16:23:03 +02:00
2025-05-18 16:23:03 +02:00
2025-05-18 16:23:03 +02:00

Izaac 2.1 Project

This project consists of a Django backend and a React/TypeScript frontend. Below are instructions for setting up and running both parts in development mode.

Prerequisites

  • Python 3.x
  • Node.js (LTS version recommended)
  • npm or yarn
  • SQLite (included with Python)

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run database migrations:
python manage.py migrate
  1. Start the development server:
python manage.py runserver

The backend will be available at http://localhost:8000

Frontend Setup

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
# or if you use yarn:
yarn install
  1. Start the development server:
npm run dev
# or if you use yarn:
yarn dev

The frontend will be available at http://localhost:5173

Development

  • Backend API documentation is available at http://localhost:8000/api/docs/ when the server is running
  • Frontend hot-reloading is enabled by default
  • Backend hot-reloading is enabled by default with Django's development server

Project Structure

  • /backend - Django backend application
  • /frontend - React/TypeScript frontend application
  • /nginx - Nginx configuration files

Additional Notes

  • Make sure both backend and frontend servers are running simultaneously for full functionality
  • The backend uses SQLite as the database by default
  • Frontend is built with Vite and uses Tailwind CSS for styling
Description
izaac.pl v.2.0.0
Readme 2.7 MiB
Languages
TypeScript 71.6%
Python 26.1%
JavaScript 1.6%
CSS 0.4%
HTML 0.2%