Tuttecose is an attempt to create an example of full stack, containerized web application. Its main purpose is to get trained in developing features in their entirety and not just be confined to frontend development. Getting out of our comfort zone is fun!
Docker is required to make Tuttecose work.
Add the following line to your hosts file:
127.0.0.1 tuttecose.loc
then start your Docker daemon and follow these installation steps:
#clone the project
git clone [email protected]:bitfella/tuttecose.git
#spin up Docker containers
docker compose up -d --build
#access backend container via shell
docker compose exec backend sh
#run db migrations
node ace migration:run
#seed db
node ace db:seed
If everything went as expected you should see a json list of posts heading over to http://tuttecose.loc/api/posts and an UI populated with aforementioned data browsing http://tuttecose.loc