Provides an opinionated starting point for apps built on React and Go stack
To run this boilerplate
- See /server/readme.md and follow the instructions in the "Getting started section". Make sure you have properly setup the database and that you have postgres running as described there.
- Execute
npm run preinstall
to install the client dependencies. Doing this will simply run/client> npm install
for you. - Execute
npm start
. Doing this will executenpm run start:client
andnpm run start:server
along with some color coding so that you will have a nice output for both client and server in the same terminal window as shown below.
- You should get a browser open to http://localhost:3000 with the client app running in it and to verify that the server is running open http://localhost:8423/swagger/index.html to see the servers swagger documentation page.
The documentation for the server and client can be found in their associated readme files shown below.
The stack this boilerplate is built on is shown below
- React
- Redux
- React Router
- Redux Forms
- Go
- Gorrilla
- GORM
- Postgres
This boilerplate is a combination of the following boilerplates which have been copied to the folders shown below
- /client
- /server