Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 1 day ago
JSON representation

This API offers service to a react application that books and displays dance class appointments

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](https://user-images.githubusercontent.com/67757001/165146174-f64f71ca-e6ef-4bb5-8c06-8e278e40d495.jpg)

### [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 [email protected]:Mhdez221993/comic_dance_club_back-end.git`

```bash
bundle

sudo service postgresql start

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!