/ng-rails

Angular frontend to test route-by-route migration of fullstack Rails app

Primary LanguageTypeScript

NgRails

This project was generated with Angular CLI version 17.0.3.
Open project in Stackblitz

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Using Docker

From the project root directory run the following commands to build and run using docker

  1. docker build -t ng-rails .
  2. docker run -p 8080:80 ng-rails
  3. The application will be served at http://localhost:8080 with production configuration using Nginx.