Address Book is a simple web-based application for keeping track of people's addresses, emails, and phone numbers. It is built using Ruby on Rails, with a PostgreSQL database for data persistence.
- Ruby: 3.1.2
- Rails: 6.1.7
- PostgreSQL: 12.12
To set up the project locally, follow these steps:
- Clone the repository to your local machine
- Run
bundle install
in the terminal to install the required gems - Run
yarn install
in the terminal to install the required JavaScript packages - Run rake
db:setup
in the terminal to setup the database - Run
rails s
in the terminal to launch the web server - The application should now be viewable at
localhost:3000
To use Address Book, follow these steps:
4. To view or edit a person's addresses, emails, or phone numbers, click on their name and use the appropriate add/edit buttons
To run the tests for the application, run:
rails test test/models
to test modelsrails test test/controllers
to test controllersrails test test/msystem
to test the application story