This is a starter project that demonstrates the features of the following Golang related stack. Testing code included
- golang-migrate for sql migrations - github.com/golang-migrate/migrate
- sqlboiler for db orm code generation - github.com/volatiletech/sqlboiler
- swagger and go-swagger for api code generation - github.com/go-swagger/go-swagger
- jwt-go - github.com/dgrijalva/jwt-go
- postgresql in docker container
- docker, docker-compose
- react, react-hooks
- material-ui
- axios
- react-router-dom
cd react_frontend/react-material
npm install
start postgresql db in container
docker-compose up postgresql
start golang server via script
bash start_testserver.sh # ./start_testserver.sh
compile and start frontend server
cd react_frontend/react-materail
npm start