Skip to content

trinhdaiphuc/social-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published