This project was built to satisfy the requirements of the final project for Module 3 of the Backend Program at the Turing School of Software and Design, Lunch and Learn.
- Expose an API that aggregates data from multiple external APIs
- Expose an API that requires an authentication token
- Expose an API for CRUD functionality
- Determine completion criteria based on the needs of other developers
- Test both API consumption and exposure, making use of at least one mocking tool (VCR, Webmock, etc).
- Clone the project to your local machine:
git clone git@github.com:sambcox/lunch-and-learn.git
- Open the project and create the database:
rails db:create
- Migrate the database
rails db:migrate
GET /api/v1/recipes?country={country}
GET /api/v1/recipes
GET /api/v1/learning_resources?country={country}
Note: pass name
and email
in request body
POST /api/v1/users
Note: API key will be returned in response body
Note: pass recipe_link
, api_key
, recipe_title
, and country
in request body
POST /api/v1/favorites
GET /api/v1/favorites?api_key={user API key}
👤 Samuel Cox