This is a simple Ruby on Rails API for managing user information and associated images.
- Ruby 2.6.3
- Rails 6.0
- PostgreSQL (Make sure it's installed and running)
-
Clone the repository:
git clone https://github.com/sharmajyotirmay/rails_image_uploader/tree/main cd rails_image_uploader
bundle install
rails db:create rails db:migrate
rails s
POST http://localhost:3000/api/images: Create a new image for a user.
The Vue.js client code is located in the client folder inside the root folder. Follow the instructions ## below to set up the client:
cd client
npm install
npm run serve