Skip to content
Public template

About

A simple, clean starter template for building web applications using Express.js, EJS for templating, and Tailwind CSS for styling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Express Tailwind EJS Template

A simple, clean starter template for building web applications using Express.js, EJS for templating, and Tailwind CSS for styling.

🚀 Features

  • Express.js - Fast, unopinionated, minimalist web framework.
  • EJS - Simple templating language that lets you generate HTML markup with plain JavaScript.
  • Tailwind CSS - A utility-first CSS framework for rapid UI development.
  • PostCSS - Transforming CSS with JavaScript plugins.
  • Nodemon - Automatically restarts the node application when file changes in the directory are detected.
  • Concurrently - Run multiple commands simultaneously.

🛠️ Project Structure

  • index.js - Entry point (Server logic).
  • input.css - Source stylesheet (Tailwind).
  • public/ - Static assets (Compiled CSS).
  • views/ - HTML templates (EJS).
  • tailwind.config.js - Tailwind configuration.
  • postcss.config.js - PostCSS configuration.

⚙️ How to Run

Installation

Install dependencies using npm or yarn:

npm install
# or
yarn install

Development Mode

Run the following command to start the server and watch for CSS changes:

npm run dev
# or
yarn dev

Production Mode

To build the CSS:

npm run build:css

# or
yarn build:css

To start the server:

npm run start
# or
yarn start

📝 License

This project is licensed under the MIT License.

About

A simple, clean starter template for building web applications using Express.js, EJS for templating, and Tailwind CSS for styling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages