Giter VIP home page Giter VIP logo

3005a4's Introduction

Running the project

  1. Clone the github repository
  2. Ensure your system has ruby version 3.2.2 and rails version 7.0.8. If you don't have ruby on your system, please refer to this doc to install ruby: https://www.ruby-lang.org/en/documentation/installation/ and this doc to install rails: https://guides.rubyonrails.org/v5.1/getting_started.html
  3. After installing the ruby and rails, run rails db:migrate to run all the migrations
  4. To run the server, run rails s
  5. To connect to the postgres database without pgAdmin, you can use the rails console by running rails c
  6. To connect to postgres server with pgAdmin, you can connect to pgadmin using your postgres role and password. Also ensure to go to database.yml and change the username to password field to your role and password

get_all_students

  • this function grabs all tuples of Student

add_student

  • this function creates a new student

update

  • this function updates the student's email

destroy

  • this function deletes a student

Video: https://youtu.be/iGGN1lmvgg4

3005a4's People

Contributors

rosali2003 avatar

Stargazers

Ojeyinka Ifeoluwa Samuel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.