Categorygithub.com/trinhdaiphuc/social-network
repository
0.0.0-20240523061008-5bfcb0ab290f
Repository: https://github.com/trinhdaiphuc/social-network.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Social network

Introduction:

The simple social network web application project using Golang, React and GraphQL

How it works?

Require: Go version 1.13, Node version 1.13

Server:

  • 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
    

Web client:

  • 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...)