npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-e3-app

v0.0.13

Published

The best way to start a typesafe backend with Typescript and Express.js

Downloads

9

Readme

E3 Stack - The best way to start a typesafe backend

A powerful tech stack for building robust and scalable APIs using TypeScript, Express.js, and optionally Prisma, along with minor dependencies like Zod, ESLint, and Prettier.

Introduction

Welcome to the E3 Stack - the best way to start a typesafe backend! This tech stack provides you with everything you need to create APIs quickly and efficiently. It's designed to simplify the development process and make your life easier.

Features

  • TypeScript: Write code that's easy to understand and maintain thanks to strong typing.
  • Express.js: Build APIs that are fast, reliable, and easy to scale using Node.js and Express.
  • Prisma: Simplify database operations with an auto-generated query builder and type-safe schema.
  • Zod: A runtime type checking library to ensure data consistency.
  • ESLint: Lint your code for best practices and maintainability.
  • Prettier: Automatically format your code to keep it clean and consistent.

Getting Started

To create your API project with the E3 Stack, you only need one simple command:

npm create e3-app@latest

or

yarn create e3-app

or

pnpm create e3-app@latest

or

bunx create-e3-app@latest

This command will set up a new project based on the E3 Stack. Follow the prompts to customize your project as needed, including the option to include Prisma, and you're ready to go!

Project Structure

The project structure is organized as follows:

  • src/: Contains the core source code for your TypeScript and Express.js application.
    • controllers/: This directory holds your API controller logic.
    • routes/: Define your API routes here.
    • lib/: Store utility functions or shared code in this directory.
    • index.ts: The entry point of your application, where the Express.js server is initialized.
  • public/: If you have static assets such as images, place them in this directory.
  • prisma/: Prisma schema files and database migration configurations are stored here.
  • .env: Configuration file for environment variables, including database connection details (if applicable).

Feel free to adapt this structure to match your specific project requirements.

Contributing (will add soon)

Contributions are always welcome! If you'd like to make improvements or fix issues in the E3 Stack, please follow the contribution guidelines.

License

The E3 Stack is released under the MIT License.

Start building powerful APIs with the E3 Stack, the best way to start a typesafe backend! 🚀