Building an organizational app to learn and experiment with Go and React.
- NodeJS
- NPM
- Go
- ReactJS
- Postgresql 12.7
-
Install the npm packages
npm install -
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 -
Set the
PGHOSTandPG_URLenvironment variablesPGHOST: <db_host> PG_URL: user=<db_user> password=<db_user_pwd> host=<db_host> port=<db_port> dbname=<db_name> -
Set the
JWT_SECRETenvironment variableJWT_SECRET: <secret>
-
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
-
Run the server executable
npm run start-server -
Run the website ui development server
npm run start-ui