/railsapi

Rails practice / REST API in Rails

Primary LanguageRuby

MAKING A RAILS API - RAILS PRACTICE

By Bang Nguyen

Description

This app allows users to create, update and delete a user using api.

General Setup Instructions

  • Clone this repository
  • Install gems by running command $ bundle in the terminal
  • Open another terminal tab and type postgres to start PostgreSQL database
  • Return to first terminal tab and run rails db:create to create the databases
  • Run rails db:migrate db:test:prepare to create tables
  • Run rails db:seed to seed the database
  • Launch the Rails server by running command $ rails s in the terminal
  • Launch site by visiting localhost:3000 in browser

User Stories

As a user I want to:

  • As a user, I want to create, edit and delete a user.

Tech Used

  • Ruby on Rails (v. 5.0.0.1)
  • Active Record
  • PostgreSQL
  • Making API internal

License

This software is licensed under the MIT license.

Copyright (c) 2016 * Bang Nguyen *