An open API service indexing awesome lists of open source software.

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

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
```