This is a Rails Tracking app that tracks developers' activities.
Live Demo Link-
Rails-Api
-
Devise
-
Devise-jwt
node should be installed in your machine.
To get this project set up on your local machine, follow these simple steps:
Step 1
In order to use this project all you have to to is follow these simple steps :
-
Clone the Rails repo and cd inside the project.
-
Run
Rake secretand keep hold it for the next step. -
Create a
.envfile in the root of the project and inside it put thisDEVISE_JWT_SECRET_KEY = < your secret key from previuos step > -
Inside
config/initializers/cors.rbif you it locally you dont need to do this but if you want to use it from specific domain you should change line 12 fromorigins '*'toorigins 'Your domain here'. -
Note: If you publish this website and upload it to heroku, do not forget to add a
Config variableto your app in heroku, simply go to heroku, go to your app, click on setting, click on config vars then put yourDEVISE_JWT_SECRET_KEYthen your secret key.
give a ⭐️ if you like this project!
This project is MIT
