Skip to content

0xs34n/absolute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Absolute Organization

  • controllers/ – defines your app routes and their logic
  • helpers/ – code and functionality to be shared by different parts of the project
  • middlewares/ – Express middlewares which process the incoming requests before handling them down to the routes
  • models/ – represents data, implements business logic and handles storage
  • public/ – contains all static files like images, styles and javascript
  • views/ – provides templates which are rendered and served by your routes
  • tests/ – tests everything which is in the other folders
  • app.js – initializes the app and glues everything together
  • package.json – remembers all packages that your app depends on and their versions

Setting up

  1. Install nodemon: Automatically restart the node application when files are changed.
npm install -g nodemon
  1. Install node packages: Go to the absolute project folder directory
npm install .
  1. Run the server: Specifies EJS changes
nodemon -e ejs

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published