Exercise 3
Course Registration System ("Ilmo 2.0") - second iteration
Read this first!
- Don't fine-tune everything, make the minimum implementation!
- If the feature says "Forms are validated with JavaScript", then it's enough that you can show 1 form that is validated with JS, minimum implementation is enough!
- Everything does not have to be just like in the picture! Feature is either implemented or not implemented, you know better.
- You can use plugins if you wish.
Exercises (features to implement)
Required features
You should have these features implemented at the exercise session. You get 1 point for each implemented feature.
- 1p: User can register to the system
- User is inserted into the database, password can be unencrypted
- 1p: Login and logout works with registered user
- 1p: Error (and "success") messages are displayed
- Like "No such user" or "Account created"
Optional features
You can select three of the following:
- 1p: Forms are validated with JavaScript
- 1p: Logged in user can edit his/hers details
- 1p: Logged in user can change his/hers password
- It would be nice to have also confirmation in there.
- 1p: Logged in user can destroy his/hers account
- Some kind of verification is would be nice.
I want to become an expert (+1credit)
- All of the above, except JavaScript from validation
- Password is not stored as clear text in the database.
- You are using
before_filter
or similar to check if for example users#edit is called without valid session. If so, then the browser is redirected to the login screen.