Skip to content

web-widgets/todo-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node JS backend for the ToDo

How to start

  • create .env file in the root folder of the project:
### Database 
...
APP_DB_RESETONSTART= true

### API
APP_SERVER_PORT= 3000
  • example for MySQL configuration:
### Database
APP_DB_TYPE= mysql
APP_DB_HOST= localhost
APP_DB_USER= root
APP_DB_PASSWORD= 1
APP_DB_DATABASE= todos

if you use MySQL database, so you'll need to create it in your db client and name it as APP_DB_DATABASE property

  • example for SQLite configuration:
### Database
APP_DB_TYPE= sqlite
APP_DB_PATH= db.sqlite
APP_DB_DATABASE= todos
  • start the backend
npm install
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published