A simple authentication backend for a React Trivia app.
The setup steps assume that the following tools are installed on the system:
git clone [email protected]:XiaoA/rails-authentication-app.git
Copy the sample database.yml file and edit the database configuration as required.
cp config/database.yml.sample config/database.yml
Run the following commands to create and setup the database.
bundle exec rails db:create
bundle exec rails db:setup
You can start the rails server using the command given below.
bundle exec rails s
You can visit the local deployment of the site at: http://localhost:3000