Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donrestarone/cookie-authentication-backend
https://github.com/donrestarone/cookie-authentication-backend
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/donrestarone/cookie-authentication-backend
- Owner: donrestarone
- Created: 2020-03-03T00:32:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T17:42:12.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T04:40:55.228Z (3 months ago)
- Language: Ruby
- Size: 56.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cookie-authentication-backend
## Rails setup
* Ensure you have postgresql, ruby 2.6.5 and rails 6 installed
```bash
bundle install
rails db:create ; rails db:migrate ; rails db:seed
```*
## Ngrok setup
* First sign up for a Pro ngrok account. This will allow you to reserve subdomains
* Follow the instructions on ngrok documentation on how to set it up and connect it to your account. Then navigate to the folder where you have the ngrok binary
* route traffic from your ngrok tunnel to your local server:
```bash
./ngrok http 3000 -subdomain api.yoursubdomainhere
```