This project is a modernized, full-stack Instagram-lite clone using Svelte (frontend) and PHP (Slim Framework, backend).
git clone https://github.com/alexmvie/insta-lite-php-svelte5.git
cd insta-lite-php-svelte5
cd server
composer install
cd ../client
npm install
Backend:
cp server/config/database.example.php server/config/database.php
server/config/database.php
with your database credentials..env
file for additional secrets (see .env.example
if provided).Frontend:
.env
files in /client
).server
directory):php -S localhost:8000 -t public
client
directory):npm run dev
vendor/
and node_modules/
are not committed to git. You must run composer install
and npm install
after cloning.server/config/database.php
and .env
are gitignored. Use the provided example files as templates.composer install
in /server
and npm install
in /client
./client
— Svelte frontend/server
— PHP Slim backendMIT