Skip to content

lifespikes/nx-template

Repository files navigation

Lifespikes template

Starter made for all projects related to Lifespikes

Helpful Links

You can find documentation and other helpful information in the following places:

Pre-requisites

Some of the above are dependencies that will install locally in your project, but installing them globally will help you leverage their CLI tools without having to prefix them with yarn or npm run.

We also strongly recommend using WebStorm as your IDE.

Getting Started

  1. Install all dependencies:

    yarn install
  2. Ensure all your apps have a .env file in their root directory. You can copy the .env.example file and rename it to .env:

    cp apps/api/.env.example apps/api/.env
    cp apps/frontend/.env.example apps/frontend/.env
    
    # Expand this as needed for other apps.
    
    # This goes without saying, but make sure you edit the
    # `.env` files to match your local environment.
  3. Run the API and frontend development servers:

    nx serve frontend
    nx serve api

Features:

  • Basic authentication configuration
  • Configuration of environment variable handling
  • Commands configuration
  • Swagger integration
  • Orval integration
  • General NX configuration

Run Command

At the moment, the possible way for commands to be run is as follows:

  • You must build the api with the command nx build api.
  • Run node spikey <command-name> <project-name>.

To read more information, please read the nestjs-commander documentation.

Notes:

If you want to add more features, components or utilities to the Lifespikes ui, you can make a PR to this repo: lifespikes/packages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •