Skip to content

Iverick/profiles-api

Repository files navigation

README

Server API of the Profiles app. See a client part here.

Run this app

The following dependencies must be installed

  • ruby==3.1.2
  • psql==14
  • git

Clone this repo on your local machine

git clone https://github.com/Iverick/profiles-api.git

Generate secret key

rake secret

Grab generated value and open credentials file

EDITOR=nano rails credentials:edit

Insert key at the bottom of the file as following

devise:
  jwt_secret_key: <put_generated_secret_key_here>

Create .env file inside the root directory and populate it with the corresponding variables from the .env.example file.

Setup a database

rails db:setup

Start development server

rails s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published