Skip to content
bahetianjali edited this page Apr 19, 2022 · 7 revisions

Requirements

  • Go
  • Node + NPM
  • Postgres v14.1 (optional support for sqlite)

Steps to run

Clone this repository first.

Start server

  1. Change the directory to server : cd server
  2. Setting up the database (optional):
    • Create a database appdb and a schema app in your Postgres server.
    • Set Postgres database credentials in config/config.go file.
  3. Run the server go run main.go. If you wish to use sqlite: go run main.go pgdb=false.

Start client

  1. Change the directory to client : cd client
  2. Install dependencies (react, react-router, etc) : npm install
  3. Start client : npm start
Clone this wiki locally