README
A simple authentication backend for a React Trivia app.
Prerequisites
The setup steps assume that the following tools are installed on the system:
1. Check out the repository
git clone [email protected]:XiaoA/rails-authentication-app.git
2. Create database.yml file
Copy the sample database.yml file and edit the database configuration as required.
cp config/database.yml.sample config/database.yml
3. Create and setup the database
Run the following commands to create and setup the database.
bundle exec rails db:create
bundle exec rails db:setup
4. Start the Rails server
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