https://github.com/dunghenry/rails_auth_docker
ruby on rails + mongodb + docker
https://github.com/dunghenry/rails_auth_docker
authentication docker docker-compose mongodb-atlas ruby-on-rails
Last synced: 3 months ago
JSON representation
ruby on rails + mongodb + docker
- Host: GitHub
- URL: https://github.com/dunghenry/rails_auth_docker
- Owner: dunghenry
- Created: 2022-10-16T14:34:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-21T07:26:29.000Z (about 2 years ago)
- Last Synced: 2025-01-25T19:28:25.926Z (over 1 year ago)
- Topics: authentication, docker, docker-compose, mongodb-atlas, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Ruby on rails + Authentication + Docker + MongoDB
### Install mongoid: add gem 'mongoid' to Gemfile
```js
bundle install
```
### Generate the default Mongoid configuration
```js
bin/rails g mongoid:config
```
### Create model User
```js
bin/rails g scaffold User username:string email:string password:string
```
### List routes
```js
rails routes
```