Skip to content

maxbarsukov/catfacts-yaframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatFacts

This is a simple application created to demonstrate the capabilities of yaframework.

Functionality included

  • Read fun facts about cats
  • That's all

About the code

  • Built with Yaframework
  • Using Boostrap for styles
  • Mongoid as ODM
  • MongoDB as DB

Setup

Clone this repository:

git clone [email protected]:maxbarsukov/catfacts-yaframework.git

Run bundle install

Setup database:

mongo

use catfacts

Setup seeds:

ruby db/seeds.rb

Run

Dev: rake start and open http://localhost:9393/

Production:

mongod --dbpath db/
puma -e production -t 16:16 config.ru

and open http://localhost:9292/

About

🔍 Yaframework example app

Topics

Resources

Stars

Watchers

Forks