Coder Social home page Coder Social logo

ecmel's Introduction

Ecmel

GitHub Actions Workflow Status Visitors COMMIT_ACTIVITY GitHub License

An easy-to-use and enterprise-grade Next.js boilerplate.

You don't need to buy templates anymore; Ecmel provides a complete, open-source solution for building SaaS applications quickly and easily.

๐ŸŒŸ Star History

Star History Chart

๐Ÿš€ Getting Started

๐Ÿ–ฑ One Click Template

Deploy with Vercel

๐Ÿ“‹ Prerequisites

Before you start, make sure you have the following installed:

  1. Bun & Node.js & Git

    1. Linux
      curl -sL https://gist.github.com/tianzx/874662fb204d32390bc2f2e9e4d2df0a/raw -o ~/downloaded_script.sh && chmod +x ~/downloaded_script.sh && source ~/downloaded_script.sh
    1. MacOS
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
      brew install git
      brew install oven-sh/bun/bun
      brew install nvm
  2. PostgreSQL

    1. You can use Vercel Postgres or a local PostgreSQL server(add POSTGRES_URL env in .env.local)
         POSTGRES_URL = ''

Installation

To get started with this boilerplate, we offer two options:

  1. Use the bun create command(๐ŸŒŸStrongly recommend๐ŸŒŸ):
bun create ecmel 
  1. Manually clone the repository:
git clone https://github.com/suchcodemuchwow/ecmel.git
cd ecmel
bun install

Setup

Follow these steps to set up your project:

  1. Set up the environment variables:
cp .env.example .env.local
// (you must have a database prepared before running this command)
bun db:push
  1. Run the development server:
bun run dev:web
  1. Open http://localhost:3000 in your browser to see the result.

  2. (Optional alpha)bun run tailwind-config-viewer Open http://localhost:3333 in your browser to see your Tailwind CSS configuration

โญ Features

๐Ÿญ Frameworks

  • Next.js - The React Framework for the Web (with App Directory)
  • NextAuth.js - Authentication for Next.js
  • Kysely - The type-safe SQL query builder for TypeScript
  • React-email - A React renderer for creating beautiful emails using React components

๐Ÿฎ Platforms

  • Vercel โ€“ Deploy your Next.js app with ease
  • Stripe โ€“ Payment processing for internet businesses
  • Resend โ€“ Email marketing platform for developers

๐Ÿฏ Enterprise Features

  • i18n - Support for internationalization
  • SEO - Search engine optimization
  • MonoRepo - Monorepo for better code management
  • T3 Env - Manage your environment variables with ease

๐Ÿฐ Data Fetching

  • trpc โ€“ End-to-end typesafe APIs made easy
  • tanstack/react-query โ€“ Hooks for fetching, caching and updating asynchronous data in React

๐Ÿฒ Global State Management

  • Zustand โ€“ Small, fast and scalable state management for React

๐Ÿ’ UI

  • Tailwind CSS โ€“ Utility-first CSS framework for rapid UI development
  • Shadcn/ui โ€“ Re-usable components built using Radix UI and Tailwind CSS
  • Framer Motion โ€“ Motion library for React to animate components with ease
  • Lucide โ€“ Beautifully simple, pixel-perfect icons
  • next/font โ€“ Optimize custom fonts and remove external network requests for improved performance

๐Ÿด Code Quality

  • TypeScript โ€“ Static type checker for end-to-end type safety
  • Prettier โ€“ Opinionated code formatter for consistent code style
  • ESLint โ€“ Pluggable linter for Next.js and TypeScript
  • Husky โ€“ Git hooks made easy

๐Ÿ‘ Performance

  • Vercel Analytics โ€“ Real-time performance metrics for your Next.js app
  • bun.sh โ€“ npm alternative for faster and more reliable package management

๐Ÿ˜ Database

  • PostgreSQL โ€“ The world's most advanced open source database

๐Ÿ“ฆ Apps and Packages

  • web: The main Next.js application
  • ui: Shared UI components
  • db: Database schema and utilities
  • auth: Authentication utilities
  • email: Email templates and utilities

๐Ÿ“œ License

This project is licensed under the MIT License. For more information, see the LICENSE file.

๐Ÿ™ Credits

๐Ÿ‘จโ€๐Ÿ’ป Contributors

Made with contrib.rocks.

ecmel's People

Contributors

suchcodemuchwow avatar

Watchers

 avatar

ecmel's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.