Skip to content

sydboraa/todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo List App

Starting the App Via Docker

sbt dist
docker-compose build
docker-compose up

Application in production mode will run on localhost:9001 PostgreSQL will run on localhost:5432

You can find the credentials in .env file

Starting the App Via Sbt

Alternatively, you can start application in dev mode

sbt run

Application will run on localhost:9000

Tech Stack

  • Scala 2.12.6
  • Play 2.6.15
  • SBT 0.13.15
  • PostgreSQL 10.4
  • Anorm
  • Docker

Notes

  • When you run the application, 2 tables will be created automatically (todos and comments) via evolutions
  • It uses PostgreSQL's default database
  • You can find the runnable version of API endpoints with samples and doc on Postman Here is the link https://documenter.getpostman.com/view/74682/todoapp/RWEduLWt
  • Additionaly, you can also use postman export for testing. It is in the public/TodoApp.postman_collection
  • To be able to run the Repository and Service tests, you need to run Postgress in local