A toy Reddit clone built on M3O APIs
This reddit clone is built on M3O APIs. To run, first get a Micro token, and save it into the environment variable M3O_API_TOKEN.
Once that's done, you can simply run the backend with go run main.go
. It will listen on port 8090
.
While the backend is currently a single go server, it should be trivial to adapt it to a golang FaaS provider (like Google Cloud Functions) and get backend hosting for free to run the whole app for free (backend on a Faas, frontend on Netlify, and the used Micro APIs are also free).
The frontend is an Angular application. Fork the repo and you can deploy for free on Netlify with the following settings:
Repo: github.com/m3o/m3o
Base dir: examples/reddit-clone/reddit
Build command npm install && npm run build
Publish directory reddit/dist/reddit
Change the repo to your fork.