Skip to content

enowars/enowars9-service-facepalm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facepalm

Facepalm is a Facebook clone gone somewhat wrong, made by someone who had never been on facebook in their life. Buttons will move unpredicatably, features contradict expectations, and some features might be entirely new. Behind the questionable hardcoded HTML practices, Facepalm is a quite performant little service that allows its users to post content, share images, browse a public feed, and modify and personalize their profiles.

Functionality

Facepalm imitates social media features and allows users to_

  • login
  • post text and/or images to a global feed or priavely to your own profile
  • Edit your profile (profile pic and bio)
  • View other users' profiles (using secure uuids)
  • see your post history and change its visibility
  • Search for other users
  • "Facepalm 🌴" posts as often as they like

Project structure

.
├── data
│   └── uploads
├── docker-compose.yml
├── Dockerfile
├── Package.swift
├── Public
│   └── facepalm_logo.png
├── README_Before_playing.md       < Additional infos for players
├── Sources
│   ├── App
│   │   ├── configure.swift
│   │   ├── Globals.swift
│   │   ├── Middleware
│   │   │   └── NotFoundMiddleware.swift
│   │   ├── Migrations
│   │   │   ├── AddCreatedAtToProfile.swift
│   │   │   ├── AddCreatedAtToUser.swift
│   │   │   └── AddPostCounterToUser.swift
│   │   ├── Models
│   │   │   ├── CreatePost.swift
│   │   │   ├── CreateProfileFollow.swift
│   │   │   ├── CreateProfile.swift
│   │   │   ├── CreateToken.swift
│   │   │   ├── CreateUser.swift
│   │   │   ├── IdentifierGenerator.swift
│   │   │   ├── PostForm.swift
│   │   │   ├── PostIDGenerator.swift
│   │   │   ├── Post.swift
│   │   │   ├── ProfileFollow.swift
│   │   │   ├── Profile.swift
│   │   │   ├── Token.swift
│   │   │   └── User.swift
│   │   ├── routes.swift
│   │   └── Utils
│   │       └── StringAppend.swift
│   └── Run
│       └── main.swift
└── uploads

Usage

The Service facepalm itself is served on port 4269 Additional hosting will require some more ports; the range reserved is 4269-4279.

About

Facebook clone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published