Skip to content

joaogn/TwitterFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Finder

This is a simple Twitter Finder, using NodeJs to Backend with Typescript and SOLID architecture and ReactJs to Frontend

RUN

  • Create .env file on Api folder and add

    TWITTER_API_URL=https://api.twitter.com/1.1/
    TWITTER_API_TOKEN=<twitter-bearer-token>
    
  • Backend With Docker

    cd Api
    docker build -t backend-twitter-finder .
    docker run -d -p 3333:3333 backend-twitter-finder
    
  • Backend To Dev

    cd Api
    yarn
    yarn dev:server
    
    or
    
    cd Api
    npm install
    npm run dev:server
    
    
  • Frontend

    cd Web
    yarn
    yarn start
    
    or
    
    cd Web
    npm install
    npm run start
    

    Deploy Api on Heroku

      cd Api
      heroku container:login
      heroku container:push web --arg ENV=live,HTTPS=on  --app=<app-name>
      heroku container:release web --app=<app-name>
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published