Code Monkey home page Code Monkey logo

phase-4-project-postr's Introduction

Postr Application

Postr is a Twitter-like app built with Ruby on Rails and React, which sorts posts based on their location. Users can create and comment on posts in their current location, but can only view posts from different locations. The app's design is similar to Twitter, but with green instead of blue as the primary color.

See this app deployed through Render: https://postr.onrender.com/

Getting Started

Note that the React front-end is located in the client folder, so "--prefix client" must be included in npm commands to run.

After cloning, make sure to install all dependencies:

bundle install
npm install --prefix client

To start the application, run the Rails server:

rails s

And run the React server:

npm start --prefix client

To populate the database with initial data, run the migrations and seed files located in the db/seed.rb file:

rails db:migrate db:seed

Current Features

Currently, users can create text posts, like posts, and comment on posts. Users can edit and delete their own posts, but only if they are logged in from the correct location.

The Explore page enables users to view posts from all other locations. Editing and deleting posts are disabled from this page.

Each user has their own profile, which displays their posts and likes, similar to Twitter.

Upcoming Features

Reposting, following/followers, and direct messages will be added in the future. Additionally, account settings will have more options beyond just uploading a profile picture. Banner images and editing user data will be included.

phase-4-project-postr's People

Contributors

bperez3237 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.