The simple social network web application project using Golang, React and GraphQL
Require: Go version 1.13, Node version 1.13
-
Environments (default):
PORT=8080 ENV=local LOG_LEVEL=INFO LOG_PATH= JWT_KEY=secret DB_URI=mongodb://localhost/social-network
-
Run the server:
$ make run-server
or
$ go run cmd/main.go
-
Environments (default):
REACT_APP_BASE_URL=http://localhost:8080 (server URL)
-
Install dependencies:
$ yarn
-
Run the web client:
$ make run-client
or
$ cd web/ $ yarn start
Run all project with Docker: (coming soon...)