Upload a photo for each user and display a list of photos. Tweet photos to the server using OAuth integration.
project Clone on your local machine for development and testing purposes.
https://github.com/vishalsabhaya/photo_management_app.git
-
Ruby version
- ruby-2.7.1
-
Rails version
- Rails-6.1.4
-
Testing framework
- Minitest
-
System dependencies
- Node.js
Please download and install Node.js https://nodejs.org/en/download/ Note: Node.js version must be >=10.17.0
- Bundle to install app dependency.
bundle install
-
Database config
-
database used: sqlite3
-
create database
rake db:create
- run migration to reflect database changes
rake db:migrate
-
-
Create sample data for app
rake db:seed
-
MyTweetApp setting
-
rename secrets.example.yml to secrets.yml
-
do setting in secrets.yml
-
-
test case targeted
-
model : data validation
-
controller : routes test
-
Test cases written using minitest
Run test cases using
rails test
- Vishal Sabhaya - GitHub profile