This is a simple study project, Here I'm creating a rails API to provide data to a front-end app!
To run the project locally, copy up and running follow these simple example steps :
- First of all make sure you have both
Ruby
&Rails
installed in your machine (else You can installRails
just with this simple commandgem install rails
) - clone the project with the following command line :
$ git clone git@github.com:Laylo309/hello-rails-back-end.git
- Then go to the right folder
$ cd hello-rails-back-end
$ bundle
and run to install npm package
$ npm install
make sure the database is up and running.
$ rails db:create
When you will add migration file then, you can add command like
$ rails db:migrate
When you will add seeds file then, you can add command like
$ rails db:seed
- Finaly run
rails s
and visit http://localhost:3000/ in your browser!
- Ruby on Rails
- PostgreSQL
👤 Laylo Khodjaeva
- GitHub: @Laylo309
- Twitter: @Laylo
- LinkedIn: LayloKhodjaeva
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Inspiration 💘
- Microverse program ⚡
- My standup team 😍
- My family's support 🙌