Skip to content

dungvan/soccer-social-network-api

Repository files navigation

soccer-Social-Network

setup:

  • Install docker, docker-compose.

run local development:

  • step 1 config the enviroment of project in the Dockerfile with the following variable:
    • ENV_API (local, development, staging, production,... with each value, need to create a json config file in config folder for e.g ENV_API = local, so json config file is config/local.json)
    • SSN_FRONTEND_HOST is the host of client using this api server for cors
    • SSN_API_DIR the base folder of this project
  • step 2 build docker
$ git clone https://github.com/dungvan/soccer-social-network-api
$ cd soccer-social-network-api
$ docker-compose build
$ docker-compose up
open ngrok for local development, export the minio server to internet
$ ./ngrok http 9000
  • waiting for ngrok export successfully, copy the endpoint which ngrok generate to soccer-social-network-api/config/local.json, replace to value of endpoint of objectstorage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages