Buffalo codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Buffalo including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Buffalo community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
buffalo dev
docker run --name rw_db -e POSTGRES_DB=gobuff_realworld_example_app_development -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -p 5432:5432 -d postgres
buffalo pop migrate
If you point your browser to http://127.0.0.1:3000 you should see the home page.
buffalo test --force-migrations
buffalo test models -m "ArticleFavorite" --force-migrations
Buffalo web application with server side rendering, server side user session and PostgreSQL database.
Authentication is generated by Auth Generator for Buffalo.
Uses pop's paginator as described in Pagination.