TheGreenBeaver / Too-Doo

Donig stuff as if I were a DevOps, a Project Manager and a Developer all at once

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too-Doo

Version: 2.2
Development process: https://trello.com/b/SKbmtyGE/too-doo

Test results

develop master
Backend backend-develop backend-master
Frontend frontend-develop frontend-master

Overview

This is a simple ToDo web app. Anyone can create an account, sign in and manage their timetable.

Running the app

Dev

Backend

  • Install Postgres and node.js v.14+
  • Create a database named too_doo_dev
  • Create a user with name too_doo_user and password password
  • Go to /too-doo-backend
  • Run npm install to install dependencies
  • Run sequelize-cli db:migrate --env dev to configure the database
  • Create an .env file, put a SECRET_KEY variable in it with value consisting of random numbers and latin letters
  • Run npm run dev to run the server in dev mode

Frontend

  • Install node.js v.12+ and yarn
  • Go to /too-doo-frontend
  • Run yarn install to install dependencies
  • Run yarn start to run frontend in dev mode

Prod

  • Install Docker
  • Run docker compose up
  • The app is available in your browser at localhost, or at the local IP address of your computer for any other computer in the same network

Running tests

Backend

  • Run npm run test (npm run test:windows if you are using Windows) in /too-doo-backend directory

Frontend

  • yarn test in /too-doo-frontend directory

About

Donig stuff as if I were a DevOps, a Project Manager and a Developer all at once

License:MIT License


Languages

Language:JavaScript 96.9%Language:HTML 1.9%Language:CSS 0.6%Language:Dockerfile 0.5%