Skip to content

A full-stack newsletter web application using React, Ruby on Rails and PostgreSQL to perform CRUD operations.

Notifications You must be signed in to change notification settings

girijaasoni/newsletterApplicaton

Repository files navigation

Newsletter Application

Overview

This is a full-stack web application for posting articles. Built with Ruby on Rails, React, PostgreSQL and Patternfly.

Prerequisites

Before the installation, please make sure to have global installations of-

Set up development environment

  1. Get the code. Clone this git repository:

    git clone https://github.com/girijaasoni/newsletterApplicaton.git
    cd newsletterApplicaton
    
  2. Execute bundle install && npm install to configure the local environment.

  3. Update the DB configuration in config/database.yml

  4. Perform DB initialization/migration and seeding

    $ rails db:create
    $ rails db:migrate
    $ rails db:seed
    
  5. Start the development server rails s

Usage

This application uses npm and rails scripts for testing and development.

  • rails s: run the development version of the app
  • rails db:create: perform DB initialization
  • rails db:migrate: perform DB migrations
  • rails db:seed: perform DB seeding
  • npm run lint: perform linting of the FE code
  • npm run test: perform testing of the FE code
  • bundle exec rubocop: perform linting of the BE code
  • bundle exec rake test: perform testing of the BE code

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change or add. Please make sure to update tests as appropriate.

About

A full-stack newsletter web application using React, Ruby on Rails and PostgreSQL to perform CRUD operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages