Skip to content

gezzzo/saraha_website

Repository files navigation

Saraha Website

A Laravel-based anonymous messaging web application inspired by Sarahah, where users can create accounts, share their profile links, and receive anonymous messages from others.

Overview

Saraha Website is a web application that allows users to receive honest and anonymous feedback through a personalized profile or public link.

The project is built using Laravel and follows the standard Laravel structure for routing, views, configuration, and database management.

Features

  • User registration and login
  • Anonymous message submission
  • User profile page
  • Personalized public link sharing
  • Inbox or message viewing interface
  • Responsive web interface
  • Laravel backend structure

Tech Stack

  • Laravel
  • PHP
  • MySQL / MariaDB
  • Blade
  • HTML
  • CSS
  • JavaScript
  • Laravel Mix

Project Structure

saraha_website/
├── app/                # Application logic
├── bootstrap/          # Framework bootstrap files
├── config/             # Configuration files
├── database/           # Migrations, seeders, factories
├── public/             # Public entry point
├── resources/          # Blade views and frontend assets
├── routes/             # Web and API routes
├── storage/            # Logs and generated files
├── tests/              # Automated tests
├── artisan             # Laravel CLI
├── composer.json       # PHP dependencies
├── package.json        # Frontend dependencies
└── webpack.mix.js      # Asset build configuration

## Requirements

Before running the project, make sure you have:

  • PHP 7.4 or later

  • Composer

  • MySQL or MariaDB

  • Node.js and npm

  • Local server environment such as XAMPP, Laragon, or Laravel Valet

Installation

  1. Clone the repository
    git clone https://github.com/gezzzo/saraha_website.git
    cd saraha_website
    
  2. Install PHP dependencies
    composer install
  3. Install frontend dependencies
    npm install
    
  4. Create the environment file
    cp .env.example .env
    
  5. Generate the application key
    php artisan key:generate
  6. Configure the database
    # Update your .env file with your database credentials:
    DB_DATABASE=your_database_name
    DB_USERNAME=your_database_user
    DB_PASSWORD=your_database_password
  7. Run migrations
    php artisan migrate
  8. Start the development server
    php artisan serve
    
  9. Compile frontend assets
    npm run dev
    

Main Idea

The platform allows users to receive anonymous messages from other people through a public profile or shareable link.

A typical flow looks like this:

  • A user creates an account
  • The user gets a personal profile or message link
  • ther people send anonymous messages through that link
  • The user logs in and reads received messages

Contribution

Contributions are welcome.

To contribute:

  • Fork the repository

  • Create a new branch

  • Make your changes

  • Commit your updates

  • Open a pull request

License

This project is licensed under the MIT License.

About

A web application for sending and receiving anonymous messages, built with Laravel.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors