Version: 2.2
Development process: https://trello.com/b/SKbmtyGE/too-doo
develop | master | |
---|---|---|
Backend |
|
|
Frontend |
|
|
This is a simple ToDo web app. Anyone can create an account, sign in and manage their timetable.
- Install Postgres and node.js v.14+
- Create a database named
too_doo_dev
- Create a user with name
too_doo_user
and passwordpassword
- 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 aSECRET_KEY
variable in it with value consisting of random numbers and latin letters - Run
npm run dev
to run the server in dev mode
- 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
- 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
- Run
npm run test
(npm run test:windows
if you are using Windows) in /too-doo-backend directory
yarn test
in /too-doo-frontend directory