Skip to content
Public template

About

Starter template that includes an express backend, a nextjs marketing and an expo mobile application

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template

This template provides basic starter applications for backend, web, and mobile development. These are minimal implementations that should be enhanced according to your specific project requirements.

The workspace includes a shared libs/shared library that can be used to share code among all applications.

Prerequisites

Before you begin, ensure you have the following installed:

Getting Started

  1. Rename the project:

Replace all occurrences of:

  • Template with <YourNewProjectName> (case-sensitive)
  • template with <your-project-name> (case-sensitive)

by excluding pnpm-lock.yaml, README.md, and AGENTS.md files for both of them.

This includes updating package names, workspace names, and any references throughout the codebase.

  1. Install dependencies:
pnpm install
  1. Set up environment variables:
cp .env.example .env

Edit .env with your configuration values as needed.

Utility Commands

The following commands are available from the root package.json:

  • pnpm backend - Start the backend server
  • pnpm marketing - Start the marketing (Next.js) app
  • pnpm ios - Start the iOS mobile app
  • pnpm android - Start the Android mobile app

Adding workspace specific dependencies

pnpm add multer --filter "backend"
pnpm add react-native-reanimated --filter "mobile"
pnpm add framer-motion --filter "marketing"

Run tasks

To run the dev server for your app, use:

pnpm nx serve @template/backend

To create a production bundle:

pnpm nx build @template/backend

To see all available targets to run for a project, run:

pnpm nx show project @template/backend

These targets are either inferred automatically or defined in the project.json or package.json files.

More about running tasks in the docs »

Add new projects

While you could add new projects to your workspace manually, you might want to leverage Nx plugins and their code generation feature.

Use the plugin's generator to create new projects.

To generate a new application, use:

pnpm nx g @nx/node:app demo

To generate a new library, use:

pnpm nx g @nx/node:lib <your-library-name>

You can use pnpm nx list to get a list of installed plugins. Then, run pnpm nx list <plugin-name> to learn about more specific capabilities of a particular plugin. Alternatively, install Nx Console to browse plugins and generators in your IDE.

Learn more about Nx plugins » | Browse the plugin registry »

Install Nx Console

Nx Console is an editor extension that enriches your developer experience. It lets you run tasks, generate code, and improves code autocompletion in your IDE. It is available for VSCode and IntelliJ.

Install Nx Console »

Useful links

Learn more:

And join the Nx community:

About

Starter template that includes an express backend, a nextjs marketing and an expo mobile application

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages