Primary
Secondary
Tooling
TypeScript + Express + Sequelize to support the .
Full deployment/development with the Frontend can be achieved by using the Todo Fullstack repository.
Both a REST and WebSockets API to handle creating, retrivig, update, and delete Todo items.
In addition, these Todo items are seperated by List code.
Variable | Default Value | Description |
---|---|---|
PORT |
5000 |
Port to run server on |
STATIC_DIRECTORY |
Directory to serve static assets from | |
DATABASE_URL |
Connection URL for the database | |
SEQUELIZE_OPTIONS |
{"dialect":"sqlite","storage":"./database.db"} |
sequelize connection options |
NODE_ENV |
"production" |
Changes various behaviors |
CORS_ORIGIN |
false |
cors origin value |
SESSION_SECRET |
"cat keyboard" |
express-session secret value |
CSRF_SECRET |
"csrf secret" |
SHA256 secret key |
production
development
/testing
Click for interactive versions