- NodeJS
- MySQL
- ExpressJS
- Sequelize ORM
- Express Validator
- Mocha
- Chai
- Mocha Simple Html Reporter
- CRUD Todos
- CRUD Items
- Move Item
For running this project please install nodejs and mysql.
Clone the repository :
git clone https://github.com/elfinsanjaya12/express-todo-list.git
Switch to the repo folder :
cd express-todo-list
Install all the dependencies using npm
or you can using yarn
:
npm install or yarn install
Set configuration database like on your environtment system,to the config file on mode development
in file app/config/config.js
:
"development": {
"username": "DATABASE_USER_NAME",
"password": "DATABASE_PASSWORD",
"database": "DATABASE_NAME",
"host": "DATABASE_HOST",
"dialect": "mysql"
},
Run the server :
npm run start
You can now access the server at http://localhost:3000