Skip to content

hamsharan/nrgx_acs

Repository files navigation

nrgx_acs

Account Control System

Ruby (ruby-2.6.5) and Rails (rails (6.0.1)) and psql (PostgreSQL) 12.1

#bundle exec rake db:crate

  • getting the database created

#bundle install

#Tests

  • bundle exec rspec

#Api::v1- ROUTES

  • bundle exec rake routes
  •                           root GET    /                                                                                        site#index
                              
                     api_v1_persons GET    /api/v1/persons(.:format)                                                                api/v1/persons#index
                     
                                    POST   /api/v1/persons(.:format)                                                                api/v1/persons#create
                                    
                      api_v1_person PATCH  /api/v1/persons/:id(.:format)                                                            api/v1/persons#update
                      
                                    PUT    /api/v1/persons/:id(.:format)                                                            api/v1/persons#update
                                    
                                    DELETE /api/v1/persons/:id(.:format)                                                            api/v1/persons#destroy
                                    
                    api_v1_accounts GET    /api/v1/accounts(.:format)                                                               api/v1/accounts#index
                    
                                    POST   /api/v1/accounts(.:format)                                                               api/v1/accounts#create
                                    
                     api_v1_account PATCH  /api/v1/accounts/:id(.:format)                                                           api/v1/accounts#update
                     
                                    PUT    /api/v1/accounts/:id(.:format)                                                           api/v1/accounts#update
                                    
                                    DELETE /api/v1/accounts/:id(.:format)                                                           api/v1/accounts#destroy
    

TDL

  • Front end
    • getting react working by making components js.jsx to be detected by react rails
    • or just create CRUD APPlication routes and just make an html.erb simple web app pages and use bootstrap css -Front end -polish
    • style and do UI/UX for the frontend (ideally in react)
  • Tests
    • Just started testing but ran out of time
    • But Def Would love to have Tests for all Models/controllers/and Modules

About

Account Control System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published