Skip to content

madcid/todo-grape-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo Rails API

This project is Grape API mounted on Rails.

You can check working example on Heroku

Login as:

- user: [email protected] pass: test1234
or
- user: [email protected] pass: test1234

and feel free to add, edit, delete tasks and lists through swagger-ui.

In this example I use devise to authenticate user. To auth you should put obtained token in header input. Data is stored in MongoDB. API is written in Grape framework and documentation is generated by swagger-ui.

Run

If you want to run this application you have to install MongoDB and create new database (you can change name in config/monogid.yml).

bundle install
rake db:seed
rails s puma
and open
https://localhost:3000/doc/api

If you want to deploy this on Heroku you need to run rake assets:precompile and commit generated files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published