This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
ambition-legacy/backend/README.md

475 B

Backend Usage

In order to run the backend, you need to have sqlite3 installed on your system. Once you do, make a database file named users.db and initialize it with the sql/init.sql script:

$ cat sql/init.sql | sqlite3 users.db

You need to create a .env file with the following variables:

  • JWT_SECRET: Required. A cryptographically secure string used to encode tokens.
  • PORT: Optional. Overrides the default port of 7741