https://github.com/mhdez221993/dance_club_api
This API offers service to a react application that books and displays dance class appointments
https://github.com/mhdez221993/dance_club_api
devise-jwt rails restful-api ruby
Last synced: 2 months ago
JSON representation
This API offers service to a react application that books and displays dance class appointments
- Host: GitHub
- URL: https://github.com/mhdez221993/dance_club_api
- Owner: Mhdez221993
- Created: 2022-03-28T09:06:26.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2023-04-01T12:06:38.000Z (over 3 years ago)
- Last Synced: 2024-10-03T12:35:05.686Z (almost 2 years ago)
- Topics: devise-jwt, rails, restful-api, ruby
- Language: Ruby
- Homepage: https://dance-club-api.vercel.app
- Size: 114 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dance club API
This API offers service to a react application that books and displays dance class appointments.
It was built in Ruby on Rails, has twelve end-points to manage resources, is tested with Rspec, and uses Swagger for documentation.

### [Api-docs](https://comic-dance-club.herokuapp.com/api-docs/index.html)
## Built With
- Rails
- Rspec
- JWT
- Swagger
## Getting Started
To get a local copy up and running follow these simple example steps.
Run in your terminal `git clone git@github.com:Mhdez221993/comic_dance_club_back-end.git`
```bash
bundle
sudo service postgresql start
rails db:create
rails db:migrate
rails s
```
## Run some test
```
rspec spec --format documentation
```
## Helpful links
- [A Devise-JWT Tutorial For Authenticating Users in Ruby on Rails](https://medium.com/ruby-daily/a-devise-jwt-tutorial-for-authenticating-users-in-ruby-on-rails-ca214898318e)
- [How to save a date into rails](https://stackoverflow.com/questions/38978999/how-to-save-a-date-into-rails-using-the-console)
- [How to Test Rails Models with RSpec](https://semaphoreci.com/community/tutorials/how-to-test-rails-models-with-rspec)
- [Testing a Rails API with RSpec](https://blog.devgenius.io/testing-a-rails-api-with-rspec-82dedc9f15df)
- [ruby on rails: heroku: Missing `secret_key_base` for 'production' environment](https://stackoverflow.com/questions/38167835/ruby-on-rails-heroku-missing-secret-key-base-for-production-environment)
- [Adding Swagger Docs to a Rails 6 API Using Rswag](https://medium.com/@clarkjohnson_85334/adding-swagger-docs-to-a-rails-6-api-using-rswag-a3e8bc577986)
- [Don't Forget to Expose Headers When Using Rack CORS](https://glaucocustodio.github.io/2016/01/20/dont-forget-to-expose-headers-when-using-rack-cors/)
- [Ruby on Rails - Join two tables add results to JSON](https://stackoverflow.com/questions/20433534/ruby-on-rails-join-two-tables-add-results-to-json)
## Authors
👤 **Moises Hernandez**
- GitHub: [@Mhdez221993](https://github.com/Mhdez221993)
- Twitter: [@MoisesH42060050](https://twitter.com/MoisesH42060050)
- LinkedIn: [Moises Hernandez Coronado](https://www.linkedin.com/in/moises-hernandez-9bbb17145/)
## Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Mhdez221993/comic_dance_club_back-end/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- To my coding partner who helped me through all the work
- To my Stand Up Team who kept my morale up!