---
# System prepended metadata

title: '[Forum]Disaster Information in Makati'

---

# [Forum]Disaster Information in Makati

1. User can Sign in and Sing up by email.
2. There have THREE Kinds of disaster by default.(Covid,Earthquake,Typhoon)
3. User can post disaster information which includes Title、Content、Address.
4. User can write comments to every disaster information.
5. User no need to sign in and can read root path. Root path need to show all disaster information.
6. Root path order by comments count, and top three show a tag "HOT".
7. User have a list to show their own disaster information & comments. 
8. User can edit update their own disaster information & comments.
9. User can’t delete their own disaster information if the disaster information has any comment.
10. soft kill disaster information

## Bonus
1. system will record every disaster information IP address and show where is the user post disaster information, ex: ip=45.32.120.173, you need to show in disaster information from Singapore , ISP: The Constant Company(if you know).
2. Use Bootstrap to beautify the view
3. Every disaster information has a shorten url, and the unique string should build by four-digit number. ex: 8304、0031. Shorten url will redirect to disaster information show action. For example: `http://localhost:3000/xxxx/99`, application will generate a short url, like `http://localhost:3000/0213`, and open this url only redirect to `http://localhost:3000/xxxx/99` 


### You need to create a new repository in Github. 
### Commit message must be readable.
### It's a three days test. I only read the commit before Nov 4 , 19:00.
### Ruby 3+ & Rails 7+.
### You can use any Gem.