Skip to content

N-eeraj/express-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Blog

Packages & Libraries Used

  • Node: JavaScript runtime for executing server-side code
  • Express: A web framework for building Node.js applications
  • EJS: Template engine for embedding JavaScript into HTML
  • SCSS: A CSS preprocessor that adds features like variables and nesting

  • Nodemon: Auto-restarting the server during development
  • Gulp: Managing SCSS, CSS minification, etc.

Starting the project

  • Development Mode

    To start the server in development mode, run the following command; npm run dev

    • Gulp will be ran in watch mode, there by watching changes in the SCSS files & re-build the css files to the destination directory.
    • Nodemon will run the app.js file watching for any changes and re-starting the server and listening for requests on port, specified in the .env file.
  • Production Mode

    To start the server in production mode, run the following command; npm run start

    • Gulp will generate minified css files to the destination(public) director from the scss files from the source(src) directory.
    • After the css files are generated, node will run the app.js file, starting the server and listening for requests on port, specified in the .env file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published