iJackUA / Good-Old-Twitter-Clone

Golang + React skillup inpired by basic Twitter functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Good Old Twitter (almost 🥸) Clone

Educational monorepo project with Golang/Buffalo server and TypeScript/React client. With Twitter-inspired functionality.

First run in dev mode

  • Install Golang 1.21+
  • Install Buffalo CLI go install github.com/gobuffalo/cli/cmd/buffalo@v0.18.14
  • cd server - setup server app
    • Make sure PostgreSQL is running
    • cp .env.example .env (check and modify if needed values from example env file)
    • Create DB buffalo pop create -a (check server/database.yml values)
  • cd client - setup client
    • npm i
  • cd ../ - go to project root folder
  • Install Overmind https://github.com/DarthSim/overmind#installation to run Procfiles
  • Run all services overmind s
  • Check services are working

Local testing of Github Action workflows

  • Install Act tool
  • run in the project toot folder
    • act -l - list all workflows
    • act push - emulate push event, run corresponding workflows
    • act -j test -W .github/workflows/server-test.yml - run specific job in the specific file

About

Golang + React skillup inpired by basic Twitter functionality


Languages

Language:Go 37.4%Language:TypeScript 25.6%Language:CSS 23.2%Language:Dockerfile 6.3%Language:JavaScript 4.8%Language:HTML 2.3%Language:Procfile 0.4%