Skip to content

RascalTwo/Todo-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo Backend

visitors Open in Visual Studio Code GitHub package.json version

Statistics

GitHub language count GitHub top language GitHub code size in bytes Lines of code

Repository

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub last commit

Primary

TypeScript Express Sequelize

Secondary

JavaScript JSON

Tooling

Git Yarn Docker GitHub

TypeScript + Express + Sequelize to support the Todo Frontend package.json version.

Full deployment/development with the Frontend can be achieved by using the Todo Fullstack repository.

Features

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.

Environment Variables

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

NODE_ENV

Structure

Click for interactive versions

Local Files

Everything

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published