https://github.com/roman-developer/course_enrollment
https://github.com/roman-developer/course_enrollment
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/roman-developer/course_enrollment
- Owner: roman-developer
- Created: 2020-11-28T11:32:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T16:18:28.000Z (over 5 years ago)
- Last Synced: 2025-03-21T05:27:47.063Z (about 1 year ago)
- Language: Ruby
- Size: 181 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## Course enrollment
This application is based on the following acceptance criteria:
- As a teacher, I should be able to create new courses.
- As a teacher, I should be able to enroll in several courses created by other teachers.
- As a teacher, I should be able to see a list of enrollments.
- As a teacher, I should be able to vote for another teacher once.
- As a teacher, I should be able to vote for a course once.
- As a teacher, I should be able to see the votes in the enrollment list.
## Tech/framework used
- Ruby version: 2.7.1
- Rails version: 6.0.3.4
- Database: Sqlite 3.28.0
## Installation
1. Install [Ruby on Rails](https://edgeguides.rubyonrails.org/getting_started.html#creating-a-new-rails-project-installing-rails)
2. Clone this repository.
3. Database set up:
- Create the database `rails db:create`
- Run migrations `rails db:migrate`
## Test
`bundle exec rspec`