Code Monkey home page Code Monkey logo

dreambook_be's Introduction

Welcome to the Back-end repo for DreamBook!

DreamBook Back-end API was built alongside the DreamBook Front-end application! The back-end is responsible for receiving requests from the front-end, storing data, and packaging up the data and returning it to the front-end for viewing.

Table of contents

Schema:

Screen Shot 2022-09-22 at 1 12 18 PM

Setup

  • Ruby 2.7.4
  • Rails 5.2.8.1'
  • Fork this repository
  • Clone your fork
  • From the command line, install gems and set up your DB:
  • bundle install
  • rails db:create
  • rails db:migrate
  • Install Figaro with bundle exec figaro install to create an application.yml file locally (this to be updated with any needed ENV variables!!!)

Gems

Endpoints

Get all blogs

get '/api/v1/blogs'

Screen Shot 2022-09-22 at 1 33 24 PM

Get a blog

get "/api/v1/blogs/:blog_id"

Screen Shot 2022-09-22 at 1 38 59 PM

Get All comments for a blog

get "/api/v1/blogs/:blog_id/comments"

Screen Shot 2022-09-22 at 1 41 58 PM

Update a blog

patch "/api/v1/blogs/:blog_id"

Screen Shot 2022-09-22 at 1 53 06 PM

Delete a blog

delete "/api/v1/blogs/:blog_id"

Screen Shot 2022-09-22 at 1 57 10 PM

Movie Recomendations by keyword

get "/api/v1/movie_recommendations?keyword="

Screen Shot 2022-09-22 at 2 01 46 PM

Book Recomendations by keyword

get "/api/v1/book_recommendations?keyword="

Screen Shot 2022-09-22 at 2 03 44 PM

Create a blog

post "/api/v1/blogs"

Contributors

dreambook_be's People

Contributors

pdthomson avatar brycesimonds avatar teecaud avatar sdecesari avatar gwen-marina avatar nikkyrojas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.