Skip to content

This is part of a demo app using React as frontend and Rails API as backend.

Notifications You must be signed in to change notification settings

kishan-aghera/todo-list-backend

Repository files navigation

To-Do List Rails API Backend

This project is part of a mini-project assigned to learn React + Rails. This project works as an API for the React frontend project in the repository here. The API will be used for user authentication and CRUD operation. This API is currently deployed here. Please feel free to contribute to this project.

Project Configuration

This repository uses Ruby 2.7.2, so make sure to have 2.7.2 version installed.

Run the following commands to install necessary dependencies

# install dependencies mentioned in Gemfile
$ bundle install

# verification of already installed files in node_modules
$ yarn install --check-files

Database Setup

Create and Initialize database.

# migration of database
$ rails db:migrate

Starting the server

To start the server on localhost run the command below. The server will start on port 3001 as the frontend app will use port 3000.

$ rails s

Note: The server for this app will not generate any view as it works as an API. You need to clone and use this app for view.

About

This is part of a demo app using React as frontend and Rails API as backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published