Rails App for a (Christmas) Wrapping Order Interface
To get the Rails server running locally:
- Clone this repo
bundle install
to install all dependenciesrake db:create
to create the default databaserake db:migrate
to make all database migrationsrails s
to start the local server
- Rails - Server-side web application framework
- Rails installation help - Guide to setting up a Ruby on Rails development environment
- Devise - For Authentication
- Simple Form - Rails forms made easy
- Bootstrap - Front-end framework
app/models
- Contains the database models for the application where we can define methods, validations, queries, and relations to other models.app/views
- Contains templates for generating the JSON output for the APIapp/controllers
- Contains the controllers where requests are routed to their actions, where we find and manipulate our models and return them for the views to render.config
- Contains configuration files for our Rails application and for our database, along with aninitializers
folder for scripts that get run on boot.db
- Contains the migrations needed to create our database schema.