Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 455 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 455 Bytes

sus-server

Server for the Simple URL Shortner client.

Requirements

  • Go 1.13
  • A PostgreSQL database

Running

To run the server, the following environment variables need to be set first:

DATABASE_URL=postgres://xxxxxxxxxxxxxxxxxxxxxxxx
PORT=xxxx

These can also be loaded from a .env file placed in the root directory.

The server can then be built and started by running

./run.sh