GithubHelp home page GithubHelp logo

shaikhalamin / fake-twitter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.08 MB

Twitter clone build with Laravel,Vue.js 2, MongoDB and Docker-compose

Home Page: https://vuejs-twitter-frontend.vercel.app/

Dockerfile 0.49% PHP 63.85% JavaScript 4.54% Blade 8.70% HTML 0.29% Vue 20.71% Shell 0.57% CSS 0.87%
docker laravel mongodb twitter-clone vuejs

fake-twitter's Introduction

Twitter clone build with Laravel,Vue.js 2, MongoDB and Docker-compose

Basic Features

```bash
    
    1. User can sign up and sign in
    2. JWT Authentication with access token and refresh token
    3. User can update profile info and update avatar icon
    4. User can post tweet and like tweet
    5. User can post follow and unfollow other user
    6. User can search other user by username or email
```

Project Run Instruction

Step 1: git clone https://github.com/shaikhalamin/fake-twitter.git

Step 2: cd fake-twitter

Step 3: sudo chmod +x setup.sh [Not needed if you can run docker and docker-compose without sudo then just run sh setup.sh ]

Step 4: ./setup.sh

N:B: please be patient it will take a while to setup docker env and project

After all the setup done you can browse http://localhost:7890 to see the result Laravel backend will be running on http://localhost:9000

N:B: If docker is not setup, then run the two backend and frontend manually by visiting the backend and frontend folder

Backend Manual Setup: (php8.1 and php-mongodb driver is must required)

    1. For Backend manual setup cd into backend directory and just cp .env.example .env and change the .env value accordingly
    2. composer dump-autoload
    3. composer install
    4. php artisan key:generate
    5. php artisan config:clear
    6. php artisan cache:clear
    7. php artisan migrate:fresh
    4. php artisan serve --port=9000

    Frontend Manual Setup: Node.js is required
    1. cd into frontend directory and just cp .env.example .env and change the .env value accordingly
    2. npm install --legacy-peer-deps
    3. npm run lint
    4. npm run serve

Postman collection also added in this project root directory named [fake-twitter.postman_collection.json] , just import it

Vue.js frontend will be running on http://localhost:7890

To Open the frontend link please click the link http://localhost:7890 to see the result

Project Screencast link added below for see the details

Project feature display

fake-twitter's People

Contributors

shaikhalamin avatar

Stargazers

ThevenRex 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.