Mind Text2SQL is an innovative application that converts natural language queries into SQL statements, making database interactions more intuitive and accessible.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Ruby 3.2.2
- Rails 7.2.1
- Node.js 18.x or later
- PostgreSQL
-
Clone the repository:
git clone https://github.com/your-username/mind_text2sql.git cd mind_text2sql
-
Install Ruby dependencies:
bundle install
-
Install JavaScript dependencies:
yarn install
-
Set up the database:
rails db:create db:migrate
-
Start the Rails server:
rails server
-
In a separate terminal, start the Vite development server:
bin/vite dev
-
Visit
http://localhost:3000
in your browser to see the application running.
To run the test suite:
rspec
Deployment instructions will be added soon.
- Ruby on Rails - The web framework used
- Vite - Frontend build tool
- PostgreSQL - Database