Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ijackua/good-old-twitter-clone
Golang + React skillup inpired by basic Twitter functionality
https://github.com/ijackua/good-old-twitter-clone
Last synced: 17 days ago
JSON representation
Golang + React skillup inpired by basic Twitter functionality
- Host: GitHub
- URL: https://github.com/ijackua/good-old-twitter-clone
- Owner: iJackUA
- Created: 2023-11-16T11:49:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-11-16T18:25:07.000Z (12 months ago)
- Last Synced: 2024-10-09T22:03:48.423Z (28 days ago)
- Language: Go
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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/[email protected]`
- `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
- http://localhost:3000 - server API
- http://localhost:5000 - client frontend## Local testing of Github Action workflows
- [Install Act tool](https://github.com/nektos/act?tab=readme-ov-file#installation)
- 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