Skip to content

andrew-dagostino/Organizr

Repository files navigation

Organizr

Description

Building an organizational app to learn and experiment with Go and React.

Installation

Requirements

Steps

  1. Install the npm packages

    npm install
    
  2. Install the go modules

    go get github.com/labstack/echo/v4
    go get github.com/labstack/gommon/log@v0.3.0
    go get github.com/jackc/pgx/v4
    go get golang.org/x/crypto/bcrypt
    
  3. Set the PGHOST and PG_URL environment variables

    PGHOST: <db_host>
    PG_URL: user=<db_user> password=<db_user_pwd> host=<db_host> port=<db_port> dbname=<db_name>
    
  4. Set the JWT_SECRET environment variable

    JWT_SECRET: <secret>
    

Building & Running

Building

  • Build both the website ui and server executable

    npm run build
    
  • Build Semantic UI components (Needs to be done at least once and then anytime Semantic Themes are updated)

    npm run build-semantic
    
  • Build website ui separately

    npm run build-ui
    
  • Build server executable separately

    npm run build-server
    

Running

  • Run the server executable

    npm run start-server
    
  • Run the website ui development server

    npm run start-ui
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors