Skip to content

One-file social network written fully by cursor.sh & gpt4 in one hour. Easy mysql setup + real time chats and more!

Notifications You must be signed in to change notification settings

Backflipper1337/Simple-Social-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Social-Network

One-file social network written fully by cursor.sh & gpt4 in one hour. Easy mysql setup + real time chats and more!

Setup:

  1. Change mysql database credentials in both files
  2. Simple open localhost/index.php?setup&pwd=admin in browser to setup database tables
  3. All set! There is no admin system :)

Features:

  • Realtime messaging
  • Profile viewing / description
  • Easy database setup

This project was done while testing the new IDE https://cursor.sh/. In my experience regular chat with gpt4 works much better than the built-in chat in this IDE :/ It may also contain vulnerabilities since the whole code was written by a neural network, but I didn't find any. You are free to use this code as you wish! I think someone could use it for a school project.

Screenshots: Login page Profile page Chats page Users page Profile page for unregistred users Database

About

One-file social network written fully by cursor.sh & gpt4 in one hour. Easy mysql setup + real time chats and more!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages