FirstRubyApp is a Ruby on Rails blog application.
Submitted by: An Ta
Time spent: 20 hours spent in total
URL: https://salty-meadow-4532.herokuapp.com/articles
The following required functionality is complete:
- User can create a new post, formatted using the Markdown language.
- User can edit an existing post.
- There is one post that introduces the App Creator with name, picture.
The following optional features are implemented:
- User can delete stories, with an alert that asks the user to confirm.
Here's a walkthrough of implemented user stories:
GIF created with LiceCap.
- Environment setup is challenging, especially on a non-Mac OS machine
I followed the official Ruby on Rails guide to build the blog app. It was nearly finished but last weekend I need to return my Macbook Pro to the company, so I set up a development environment on my home computer which runs Windows. I thought it would be easy since I already went through the guide but it took me more than 2 days just to set up the environment. I moved from Windows to a virtual Linux machine and there's still some issues. I ended up having little time to actually do the exercise though it just takes a few hours to finish the required functionalities after the evironment is ready.
-
The provided .gitignore file caused an issue when deployed on Heroku since it ignores the secret-token.rb file by default. Took me some time to realize that.
-
Overall this is an interesting but (surprisingly) challenging experience.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.