Skip to content

scalableinternetservices/mind-and-machine

Repository files navigation

Tweet - Final Project for Team Mind-and-Machine

Tweet - a modern social networking platform built with Ruby on Rails and Next.js, featuring real-time messaging, post sharing, and user interactions.

Screenshot 2024-12-05 at 2 28 59 PM Screenshot 2024-12-02 at 6 03 58 PM Screenshot 2024-12-02 at 6 09 04 PM

Tech Stack

Backend

  • Ruby on Rails 7.0
  • PostgreSQL
  • Docker & Docker Compose

Frontend

  • Next.js 13 (App Router)
  • TypeScript
  • Tailwind CSS

Features

  • User authentication
  • Real-time messaging
  • Post creation and interaction
  • Like and comment system
  • User profiles
  • Post search functionality
  • Responsive design

Prerequisites

  • Docker
  • Docker Compose
  • Make

Quick Start

  1. Clone the repository
https://github.com/scalableinternetservices/mind-and-machine.git
cd mind-and-machine
  1. Run the application
make run

Project Structure

mind-and-machine/
├── Dockerfile
├── Gemfile
├── Makefile
├── README.md
├── Rakefile
├── app (backend Rails app)
├── bin
├── config (backend Rails config)
├── db (PostgreSQL database)
├── docker-compose.yml
├── lib (backend Rails lib)
├── react (frontend Next.js app)
├── storage
└── vendor

API Endpoints

The frontend communicates with a Ruby on Rails backend API running on http://localhost:3000. Key endpoints include:

  • Authentication: /api/login, /api/signup
  • Posts: /api/posts
  • Comments: /api/posts/:id/comments
  • Likes: /api/posts/:id/like
  • Search: /api/search/posts, /api/search/users
  • Messages: /api/chats

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •