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.
- Python
3.9.x
or later - Windows Operating System
- 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
- Development command
npm run watch
- Build command
npm run build
- Deploy command
npm run start
ornpm start
- Write frontend JavaScript in
/public/assets/js/main.js
- Write CSS in
/public/assets/css/_style.css
(TailwindCSS will compile it tostyle.css
. This is the reason whystyle.css
is linked in the HTML) - Add images in
/public/assets/images
- Add JavaScript and CSS import in
/views/partials/imports.ejs