Skip to content

ArielSoothy/Data-Engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Engineering

Interactive learning platform for Data Engineering topics including SQL and Python. 🚀

Table of Contents

Overview

This is a React-based learning platform for Data Engineering concepts, including SQL and Python exercises, with an interactive interface.

Features

  • Dashboard with overview of topics
  • SQL basics and advanced exercises
  • Python basics and advanced exercises
  • Interactive code editors
  • Dark mode support
  • Responsive design for all devices

Development

Prerequisites

  • Node.js 18+ and npm

Local Development

  1. Clone the repository
  2. Install dependencies:
    npm install
    
  3. Start the development server:
    npm run dev
    
  4. Open http://localhost:5173 in your browser

Environment Variables

Create a .env file in the root directory with:

CLAUDE_API_KEY=your_api_key_here

This key is read only on the server. Client code calls the /api/claudeProxy endpoint which forwards requests to Anthropics' API.

Serverless Deployment

Deploy to Vercel or Netlify and add a secret named CLAUDE_API_KEY in your project settings. The api/claudeProxy.ts file will be automatically picked up as a serverless function.

Deployment

GitHub Pages Deployment

The site is configured to deploy automatically to GitHub Pages when changes are pushed to the main branch.

Automatic Deployment

When you push to the main branch, the GitHub Actions workflow will:

  1. Build the project
  2. Configure Single-Page Application routing for GitHub Pages
  3. Deploy to GitHub Pages

Manual Deployment

You can manually deploy using:

npm run deploy

This will:

  1. Build the project
  2. Set up files for GitHub Pages deployment
  3. Provide instructions for pushing to the gh-pages branch

Accessing the Site

Troubleshooting

404 Errors after Refresh

If you're experiencing 404 errors after refreshing the page on GitHub Pages:

  1. Make sure you're using the HashRouter in production (automatic in the current setup)
  2. Check that the 404.html file is properly set up
  3. Ensure the base path in vite.config.ts is correctly set to /Data-Engineering/ for production builds

Local Development Issues

If the local development server isn't working:

  1. Make sure the base path in vite.config.ts is set correctly based on the environment
  2. Check that you're using the BrowserRouter for local development
  3. Restart the development server with npm run dev }, })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published