Skip to content

adam-kuhn/trick-taking-simulator

Repository files navigation

Trick Taking Simulator

A simple trick taking simulator that let's you play card games online with your friends

Angular CLI Bootstrapped

This project was generated with Angular CLI version 11.0.2.

Development Web server

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

Node Server

Run npm run dev to start dev server with nodemon

For the best developer experience use both build.client.dev and npm run dev in different terminals to enable hot reloading on both the front and back-end

Complete Builds

Run npm run complete.production to build the complete application in production mode. Then to start the server, run npm run start. This will not work locally has the URL points to the deployed app.

NOTE: NODE_ENV does not need to be assigned in the production start script as this is provided be Heroku

Run npm run complete.development to build the complete application in development mode. Then run npm run start.dev to start up the application

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Front End Tests

Run ng test to execute the unit tests via Karma.

Back End Tests

Run npm run server.test to execute unit tests with Mocha and Chai

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Deployment

The application is deployed to Heroku and is accessible at http://trick-tacking-simulator.herokuapp.com/ (yes there is a typo, in the name but oh well).

The master branch is set up to be automtically deployed. Currently there is no automated tests during the build / deployment process, so make sure to run all tests and confirm things works locally before merging your branch to master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •