The Todo List Web Application is a Ruby on Rails project designed to help users manage their tasks efficiently. Users can create tasks and add detailed notes to each task. This project was developed as a learning exercise to gain a deeper understanding of Ruby on Rails and the Model-View-Controller framework. I created this web app while learning from documentation and YouTube tutorials.
Before you start, ensure you have met the following requirements:
- Ruby 3.0.2: Install guide: Ruby
- Ruby on Rails 7: Install guide: Rails
- PostgreSQL 14: Install guide: PostgreSQL.
- Node.js 21: Install using [Node Version Manager (nvm)] or download from Node.js Downloads
- Yarn: Install guide: Yarn
- Bundler: Install using
gem install bundler
Before starting the setup, ensure you have the required prerequisites/dependencies
Download the project files or clone the project repository to your local machine
Inside the projects main directory (where 'Gemfile' is) run: bundle install
Inside the projects main directory (where 'package.json' is) run: yarn install
Setup Database Username by opening the file located at config/database.yml and replace 'username: dylan' with your postgres account username in the development and test section
Create Database: rails db:create
Initialize Database: rails db:migrate
Start the rails server using: rails server