/Tdd-Todo

Primary LanguageJavaScript

Modanisa Test-Driven-Development Todo Challenge

logo


About   |    Technologies   |    Requirements   |    Getting Started   |   

ℹ️ About

Simple ToDo list application with BDD and TDD approach. If you look at the comments, you can better understand the approach, in this approach firstly, I started the acceptance test which is my expected behavior from customers Then, moved to front-end and wrote basic unit test my all test failed which is expected, I started the development through my test. Same scenario for the backend.

🚀 Technologies

The project was developed using the following technologies:

🌱 Minimal Requirements

🔰 Getting Started

Cloning the repository:

  • $ git clone https://github.com/abdullahsuhaisk/Tdd-Todo.git

Download the dependences:

This project has 3 projects inside of it

Every step has own install.You can follow regular installation or docker

🔗 Regular Installation

For Front-End -cd todo-frontend

  • npm install
  • npm start && npm test

For Back-End -cd todo-backend

  • npm install
  • npm start && npm test

For Acceptance -cd ToDo_Acceptance

  • npm install

For run test go specs folder open todo.spec -> press run spec on left corner

🔗 Docker Installation

For Front-End

  • cd todo-frontend
  • docker build -f Dockerfile -t client
  • cd ..

For Back-End

  • cd todo-backend
  • docker build -f Dockerfile -t server
  • cd ..

For Acceptance

  • cd ToDo_Acceptance
  • docker build -f Dockerfile -t acceptance
  • cd ..

After above steps, on root you should run =>

  • docker - compose up