Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sharath/go-react-boilerplate
gin + react app demo
https://github.com/sharath/go-react-boilerplate
boilerplate gin go javascript react
Last synced: 2 months ago
JSON representation
gin + react app demo
- Host: GitHub
- URL: https://github.com/sharath/go-react-boilerplate
- Owner: sharath
- Created: 2018-07-22T13:02:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T23:06:37.000Z (over 6 years ago)
- Last Synced: 2024-08-03T02:09:01.448Z (5 months ago)
- Topics: boilerplate, gin, go, javascript, react
- Language: HTML
- Homepage:
- Size: 82 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-projects-boilerplates - Go React JSX Boilerplate
README
# go-react-boilerplate
Demo application that shows how to use a react frontend with a Go backend.### dependencies
- yarn
- npm
- go
- dep### Quickstart
```bash
go get github.com/sharath/go-react-boilerplate
cd $GOPATH/src/github.com/sharath/go-react-boilerplate
dep ensure
cd client && yarn && yarn build
cd .. && go run App.go
```# Project Structure
```bash
.
├── App.go
├── Gopkg.toml
├── README.md
├── backend
│ └── Backend.go
├── client
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ └── manifest.json
│ ├── src
│ │ ├── App.css
│ │ ├── App.js
│ │ ├── App.test.js
│ │ ├── components
│ │ │ └── demo
│ │ │ └── demo.js
│ │ ├── index.css
│ │ ├── index.js
│ │ └── logo.svg
│ └── yarn.lock
└── frontend -> client/build
```The server is running at [localhost:3000](http://localhost:3000/). You can see the API at [localhost:3000/api/v1/users](http://localhost:3000/api/v1/users)