eqladios / rorchallange Goto Github PK
View Code? Open in Web Editor NEWAn application done for Raye7 ROR Internship Challange
An application done for Raye7 ROR Internship Challange
== README * Ruby version 2.1.5 * Rails version 4.2.5.1 * Getting up and running $ git clone [email protected]:eqladios/RORchallange.git $ bundle install $ rake db:migrate * Database creation $ rake db:migrate * Testing/Trying When you create an account,the only way you can make it an admin is through Rails Console, I could have done a method to do it but there were more important tasks so ¯\_(ツ)_/¯ All accounts are created as Regular Users If you try on Heroku Admin Access: email: [email protected] password: 88888888 * API for posting trips There is an API for posting trips where you can send POST request to https://raye7carl.herokuapp.com/api/v1/trips with trips_params it lacks authentication and many other feautures to make it useful. However, it's just a demo. * Deployment instructions Already Deployed on Heroku https://raye7carl.herokuapp.com/ but typical steps would be: $ git push heroku master $ heroku run rake db:migrate The database on heroku would be empty as Postgresql is used in Production and SQLite3 is used in Development so you have to populate it. A fix would be using Postgresql on Production, Development and Testing. * Application feautures Designed with Bootstrap3, so its UI is dynamic and multi-platforms-friendly Authentication with Devise with additional required fields(work,home) Admins and Users multiple views Join trip through a Bootstrap Modal Trips and Users are connected through 'Membership' relationship with multiple-index key (trip_id, user_id) to prevent duplications UI Buttons change upon your access-level Time and Date fields and formatting in views to match locale time
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.