Skip to content

A custom express app generator with TailwindCSS pre installed along with the index route and setting for a MySQL connection.

Notifications You must be signed in to change notification settings

Roshane-Johnson/express-app-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express App Generator (EXAG) - Roshane-Johnson

This express app generator has a few starter features that are custom for my current needs which includes:

  • TailwindCSS
    • TailwindCSS Forms
    • TailwindCSS Typography
  • MySQL Setup
  • ExpressJS Response Helper Functions
  • ExpressJS Layouts, Partials, Flash and Session

If you'd like to contribute to this project, simply create a fork and make a pull request following this projects pull request format.

Pre-requsites

  • Python 3.9.x or later
  • Windows Operating System

Usage

  • Double click expressgen.bat to get started
  • (Recommended) Change variables in .env to match your database and application.
  • (Optional) Change the navbar located in /views/partials/navbar.ejs

NPM Commands

  • Development command npm run watch
  • Build command npm run build
  • Deploy command npm run start or npm start

Where Stuff Goes

  • Write frontend JavaScript in /public/assets/js/main.js
  • Write CSS in /public/assets/css/_style.css (TailwindCSS will compile it to style.css. This is the reason why style.css is linked in the HTML)
  • Add images in /public/assets/images
  • Add JavaScript and CSS import in /views/partials/imports.ejs

About

A custom express app generator with TailwindCSS pre installed along with the index route and setting for a MySQL connection.

Resources

Stars

Watchers

Forks

Packages

No packages published