Skip to content

namhoang1604/twitter_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Server

This project likes a basic version of Twitter.

Features

  • Create a tweet from the anonymous user.
  • Show list tweets with sort by the number of retweets and default limit is 10 tweets.
  • Implement infinity scroll to get more tweets.
  • The user can retweet/unretweet every tweets.
  • Update real-time the number of retweets when another user retweet the tweet.

Install

Prerequisites

  • Elixir 1.5 or later.
  • Erlang 18 or later.
  • PostgreSQL

Phoenix

Here’s the command to install the Phoenix archive:

$ mix archive.install hex phx_new 1.4.0

Start Server

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published