Skip to content

Queje/api_formyou

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Api to the Form You app.

Can be used with the associated React frontend

Description

  • Ruby '2.7.1'
  • Rails '6.1.3'
  • PostgreSQL '12.6'
  • Devise-jwt '0.7.0' (Allowlist Revocation Strategy)
  • Rspec-rails '4.0.2'
  • Factory_bot_rails '6.1'
  • Mailjet (in production)
  • letter opener (in development)

Usage

Clone this repository
Generate a secret key rails secret
Create a .env with DEVISE_JWT_SECRET_KEY="yoursecretkey"
bundle install
rails db:create db:migrate
rails server
Your app will be running on http://localhost:8080

Production

visit the app (https://formyou.herokuapp.com/)

Routes

after cloning this repository, if you when to use specific routes for this api, please use rails routes Remember that you will need an authentication token to fetch your data.

Enjoy!

About

Rails API, created a week following a 10 weeks ReactJS training at @TheHackingProject.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 97.0%
  • HTML 3.0%