Skip to content

✂️ Monolithic SaaS Application Starter based on Node.js and Vite

Notifications You must be signed in to change notification settings

tonyfromundefined/fastify-app-tony

Repository files navigation

✂️ fastify-app-tony

Monolithic SaaS Application Starter based on Node.js and Vite. Develop both server and client with one yarn dev, create a single Docker image (built-in Dockerfile) and deploy it easily.

💪 Getting Started

# Install dependencies
$ yarn

# Bootstrap MongoDB with `docker-compose`
$ docker-compose up -d

# Create `.env` file
$ cp ./app/.env.example ./app/.env

# Start development server
$ yarn workspace @fastify-app-tony/app dev

Make it your app by doing find and replace all fastify-app-tony.

🔨 Tech Stack

It consists of the following technology stacks:

Common

Maintaining a stable development speed with fast feedback

Server

Separation of domain knowledge and scalability using event sourcing.

Client

Securing E2E Type Safety and Data-View Consistency using GraphQL.

🚢 How to Deploy

You can use any kind of deployment platform that supports deploying Docker images.