Skip to content
/ ult Public

Ult is a modern TS-stack forging Nest.js + Prisma + tRPC, Next.js + Tailwind, and pnpm to make coding fun again.

License

Notifications You must be signed in to change notification settings

jaequery/ult

Repository files navigation

Ult

Ult: Uniting Nest.js + Prisma + tRPC, Next.js + Tailwind for the ultimate streamlined web development.

image

license last-commit repo-top-language repo-language-count

Ult - the modern tech stack built for speed, security, and scalability

Have you ever wondered how swiftly you could turn your next project or startup idea into reality? This question has often crossed my mind, especially when initiating a new project. The initial phase typically involves rewriting extensive boilerplate code—authentication, registration, admin panels, etc.—which consumes a significant portion of development time. After repeatedly facing this challenge, I was compelled to devise a bootstrap framework for efficient reuse.

Throughout the years, I embarked on a quest to refine this concept, creating numerous versions of these bootstrap frameworks. The tech landscape constantly evolves, yet each solution seemed like forcing a square peg into a round hole. I believed in a streamlined, more efficient approach to system design, aiming for unparalleled speed and precision. Despite the limitations of existing tools, my vision persisted. That was until I discovered tRPC, which revolutionized my workflow. Integrating Nest.js, Next.js, Prisma, and tRPC transformed the development process, making it exceptionally rapid and efficient, suitable for anything from quick projects to enterprise-level applications. Thus, Ult was conceived.

Welcome to the future of web development with Ult—a harmonious combination of Nest.js, Prisma, and tRPC for the server, alongside Next.js and Tailwind CSS for the client. This integration promises seamless backend-to-frontend connectivity, accelerated development cycles, and a modern UI requiring minimal coding. Ult stands as a comprehensive solution for crafting scalable, high-performance, and aesthetically appealing web applications. Prepare to elevate your projects with unparalleled ease and sophistication.


Getting Started

Requirements

Ensure you have the following dependencies installed on your system:

  • Node v18+
  • Pnpm
  • Docker Compose

Installation

  1. Clone the Ult repository:
git clone https://github.com/jaequery/ult
  1. Change to the project directory:
cd ult
  1. Install the dependencies:
pnpm install

Setup

  1. Run Postgres database using Docker that will listen on port 5432:
docker-compose up -d
  1. Create .env for server
cd ./apps/server
cp .env.example .env

Database should work out of the box with the default credentials for local development. But for email, you will need a valid SMTP account, which you can get one for free at brevo.com.

  1. Run db migration to create the database tables
pnpm db:migrate
  1. Run dev environment
pnpm dev

This will start the Next.js server on http://localhost:3000 and the Nest.js on http://localhost:3001.

  1. Run the db seed to populate the database with initial admin user account. You can find the seed file at ./apps/server/prisma/seed.ts.
pnpm db:seed

Tests

Use the following command to run tests:

pnpm test

Contributing

Contributions are welcome! Here are several ways you can contribute:

Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your github account.
  2. Clone Locally: Clone the forked repository to your local machine using a git client.
    git clone https://github.com/jaequery/ult
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear message describing your updates.
    git commit -m 'Implemented new feature x.'
  6. Push to GitHub: Push the changes to your forked repository.
    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.

Once your PR is reviewed and approved, it will be merged into the main branch.


License

This project is protected under the MIT License. For more details, refer to the LICENSE file.


Acknowledgments

  • List any resources, contributors, inspiration, etc. here.

Return


About

Ult is a modern TS-stack forging Nest.js + Prisma + tRPC, Next.js + Tailwind, and pnpm to make coding fun again.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages