Private repository for our EthDenver2024 Scavenger Hunt application.
- Install your dependencies:
npm install
-
Duplicate the existing .env.example file and rename it
.env
-
Create a secret key:
npm run createKey
Take the logged string output from your and assign it to the SECRET_KEY
value in your .env file
-
Assign a live PostgreSQL connection string to your
STRING
value in your .env file -
Run the application in developer mode:
npm run dev
-
Uncomment the code found in /src/pages/api/table.ts and prime your PostgreSQL database by making a fetch request to
http://localhost:3000/api/table
-
Once complete, you are ready to use the application