Skip to content

alvaaz/tweeter-twitter-clone

Repository files navigation

Tweeter clone

This project is a clone of Twitter. It is a simple project to learn how to use NodeJS and Express to create a simple web application. This app is using Docker and docker-compose to create a containerized application.

Dependencies

Features

  • Login with Google or Email
  • Create, retweet, like tweets
  • Follow users
  • View your profile
  • View other profiles
  • View your feed
  • View other feeds
  • View your followers
  • View your following
  • View your favorites
  • View your retweets

Install

This project is dockerized and can be installed with the following command:

docker-compose build && docker-compose up

You'll need install dependencies locally to have all types of dependencies.

yarn install

Getting started

Try to reach the login page with the following url:

localhost:3001

This app uses Browsersync to automatically reload the page when a change is made. Browsersync has set up a --proxy to forward the requests to the localhost:3001. Docker-compose exposes port 3001 to the localhost as well.

Database access

To access the database you need to run the following command while in the container:

docker exec -it mongo bash
mongo
use mydb