GithubHelp home page GithubHelp logo

hello-rails-back-end's Introduction

hello-rails-back-end

An API end point for Hello world project. you can find the front-end application here.

Requirements for this project

You can find requirements for this project here.

Installation & Usage

To setup the backend local server:

  • Make sure you have Postgres and Ruby installed.
  • Open the terminal window and clone the repository using this command: [email protected]:Behnam1369/hello-rails-back-end.git
  • Open the repo by typing : cd hello-rails-back-end
  • Install the project's dependencies by running bundle install
  • Make sure you have database user called postgres.
  • Make sure you have a db.rb file under the config folder and it should be containing ENV['DATABASE_PASSWORD'] = 'your_password'.
  • run rails db:create to create the database.
  • run rails db:migrate to create the the dchema.
  • run rails db:seed to insert greeting records.
  • run rails s to start the api endpoint on local server.

To setup the front-end local server:

  • Make sure you have node.js installed.
  • Open the terminal window and clone the repository using this command: [email protected]:Behnam1369/hello-react-front-end.git
  • Open the repo by typing : cd hello-react-front-end
  • Install the project's dependencies by running npm install
  • Make sure you have database user called postgres.
  • run npm start to start the application on local server.
  • note: you need to run the front-end application in a port other than default port, as the default port will be used by the back-end server.

Technologies

  • Ruby
  • Rails
  • Postgres
  • javascript
  • React
  • Redux

Author

๐Ÿ‘ค Behnam Aghaali

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

๐Ÿ“ License

This project is MIT licensed.

hello-rails-back-end's People

Contributors

behnam1369 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.