A link shortening site for personal use
- Download this repo
- Rename the
.env.examplefile to.envand edit the values there - Runb
npm run build - Insert a default token into the postgres database. We recommend using this command:
insert into tokens (label, token) value ('admin', lower(substr(md5(random()::text), 0, 32)));- Be sure to hold onto whatever is generated, as this is your access token
You can now use node server from the root to run the website!