Lululedger is a platform for SFIT Lululemon fundraising orders.
config.ts
must be placed in src/server/
with the following:
export const API_URI="your_api_uri"
export const API_TOKEN="bearer your_API_token"
TODO: Add a config.ts.example
(there are some additional parameters now).
Run npm start
to compile source and start server.
OR
npm run watch
to live reload the frontend.npm run watch_server
to live reload the backend.It's preferred to run both watch
and watch_server
above for typical development
npm run build_prod
.src/constants.ts
. TODO: Maybe these should live in a DB.scripts/lulurl_parser.ts
.
scripts/lulurls.txt
npm run lulurl_parser
src/server/utils/populate_db.ts
.
src/server/utils/data.ts
.npx ts-node src/server/utils/populate_db.ts
.Distributed under the MIT License. See LICENSE.txt for more information.