Skip to content
/ ACTT Public

Assetto Corsa Time Tracker. A PWA to keep track of your personal best lap times in Assetto Corsa. Looking for contributors

License

Notifications You must be signed in to change notification settings

l0ll098/ACTT

Repository files navigation

Assetto Corsa Time Tracker

A PWA to keep track of your personal best lap times in Assetto Corsa.

Details

This is a Lazy Loading, Progressive Web Application and Server Side Rendered application. SSR is done through Firebase Functions.

App Structure

In the src/app folder there are different Angular modules. The first one, called app.shared.module.ts, is shared between server and app. The module called app.module.ts is used only on the client and is responsible to import Firebase. The other one, called app.server.module.ts, is used to Server Side Rendering the application.

Note: Those modules are separated in this way so that Firebase Functions can work without conflicting because it finds the Firebase library multiple times.

To support Lazy Loading, each component has its' own Module. This is true for each component except the login one as it would interfere with SSR.

Commands

  • Serve app locally
   $ npm start
  • Build app
   $ npm run build
  • Build app(production, AOT & Service Worker)
   $ npm run build:prod
  • Build Functions
   $ cd ./functions/
   $ npm run build

If you want to build App and Functions in a single command, run:

   $ npm run gulp

Deploy

To deploy an already built app and functions, run:

    $ firebase deploy

About

Assetto Corsa Time Tracker. A PWA to keep track of your personal best lap times in Assetto Corsa. Looking for contributors

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published