An working Fera Rails App example to help you get started with our partner app development.
To learn more about our APIs visit https://developers.fera.ai
Here's how to get the app running on your local computer for development.
You must have the following to run this app:
- Postgres 12+ (
brew install postgres
on OSX) - Redis 6+ (
brew install redis
on OSX) - Ruby 2.7.6 (install
rbenv
then install Ruby 2.7.6 withrbenv install 2.7.6
) - Ngrok 3+, Business Edition (
brew install ngrok
on OSX) - Also make sure your auth token is set. - Foreman (
gem install foreman
) - Yarn and NPM
First head over to https://partners.fera.ai/apps/new to create a new app.
If you don't have a partner account yet you can signup for one by going to https://www.fera.ai/partners/signup
Once you've created your app go to the "general" tab and grab your Code
.
Then go to the setup tab and copy your:
- Client ID
- Client Secret
Copy over .env-example
to .env
and fill in all the values as instructed in the file.
- Install the gems
bundle install
- Initialize the database
bin/setup
- Install yarn packages
yarn install
Once you're ready run yarn run dev
to start your local development server. It'll tell you what URL to access. 🚀🚀🚀